fix(workshop): encode screenshot filenames in URLs and stabilize paste effect deps
This commit is contained in:
1 parent
74289b8b01
commit
e6f8174a44
2 files changed
+2
-2
No files matched your search
@@ -65,7 +65,7 @@ export const CustomWidgetList = ({ definitions }: CustomWidgetListProps) => {
|
||||
};
|
||||
document.addEventListener("paste", onPaste);
|
||||
return () => document.removeEventListener("paste", onPaste);
|
||||
}, [importMutation]);
|
||||
}, [importMutation.mutate]);
|
||||
|
||||
if (definitions.length === 0) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user