Skip to content

Commit 1ff7474

Browse files
committed
Small fix
1 parent 97295ce commit 1ff7474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/03-ui-components/11-uppy-file-panel/src/FileReplaceButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const FileReplaceButton = () => {
4141

4242
if (
4343
block === undefined ||
44-
!blockHasType(block, editor, ["url"]) ||
44+
!blockHasType(block, editor, { url: "string" }) ||
4545
!editor.isEditable
4646
) {
4747
return null;

0 commit comments

Comments
 (0)