Merge remote-tracking branch 'origin/feat/widget-store' into feat/widget-store

This commit is contained in:
ajnart committed 2026-07-06 02:31:42 +02:00
commit 420633f125
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 (
@@ -28,7 +28,7 @@ interface PBListResponse {
}
export const getStoreFileUrl = (submission: StoreSubmission, filename: string) =>
`${STORE_URL}/api/files/submissions/${submission.id}/${filename}`;
`${STORE_URL}/api/files/submissions/${submission.id}/${encodeURIComponent(filename)}`;
export const fetchStoreSubmissions = async (
type: "css" | "widget",