Skip to content

Commit 25dfba9

Browse files
committed
fix type error
1 parent b29573b commit 25dfba9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/context-editor/src/components/ImageUploader.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Label } from "ui/label";
77

88
import type { ImageAttrs } from "../schemas/image";
99
import { Alignment } from "../schemas/image";
10-
import { insertMedia, insertNodeAfterSelection } from "../utils/nodes";
10+
import { insertMedia } from "../utils/nodes";
1111

1212
export type Upload = FileUploadProps["upload"];
1313

@@ -22,9 +22,6 @@ export const ImageUploader = ({ upload, onInsert }: { upload: Upload; onInsert:
2222
class: null,
2323
alt: file.fileName,
2424
linkTo: "",
25-
caption: false,
26-
credit: false,
27-
license: false,
2825
width: 100,
2926
align: Alignment.center,
3027
fullResolution: false,

0 commit comments

Comments
 (0)