Skip to content

Commit

Permalink
[frontend]Fix drone(#6052)
Browse files Browse the repository at this point in the history
  • Loading branch information
CelineSebe committed Feb 26, 2024
1 parent 202893f commit 5dc6fe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface CustomFileUploadProps {
) => Promise<unknown>;
isEmbeddedInExternalReferenceCreation?: boolean;
label?: string;
formikErrors: {
formikErrors?: {
file?: string,
}
acceptMimeTypes?: string; // html input "accept" with MIME types only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import ObjectMarkingField from '../../common/form/ObjectMarkingField';
import MarkdownField from '../../../../components/MarkdownField';
import { fieldSpacingContainerStyle } from '../../../../utils/field';
import { insertNode } from '../../../../utils/store';
import CustomFileUpload from '../../common/files/CustomFileUploader';
import CustomFileUploader from '../../common/files/CustomFileUploader';

const useStyles = makeStyles((theme) => ({
drawerPaper: {
Expand Down Expand Up @@ -192,7 +192,7 @@ const ArtifactCreation = ({
errors,
}) => (
<Form style={{ margin: '20px 0 20px 0' }}>
<CustomFileUpload setFieldValue={setFieldValue} formikErrors={errors}/>
<CustomFileUploader setFieldValue={setFieldValue} formikErrors={errors}/>
<Field
component={MarkdownField}
name="x_opencti_description"
Expand Down

0 comments on commit 5dc6fe2

Please sign in to comment.