Skip to content

Commit 9a62b49

Browse files
committed
fix: pass image id as number
1 parent 50064f7 commit 9a62b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Component/ImageFile/ImageFileForm/ImageFileForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const ImageFileForm: React.FC<ImageFileRootProps> = () => {
9393
}
9494
}`,
9595
variables: {
96-
id: imageFileId
96+
id: parseInt(imageFileId, 10)
9797
}
9898
});
9999
setFile(result.imageFileById);

0 commit comments

Comments
 (0)