🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Misc
Edward Cuid832997cc2c2
diff --git a/client/src/components/SiteSettings/ImportManager.tsx b/client/src/components/SiteSettings/ImportManager.tsxindex a714f3e90..1c0829522 100644--- a/client/src/components/SiteSettings/ImportManager.tsx+++ b/client/src/components/SiteSettings/ImportManager.tsx@@ -120,7 +120,7 @@ export function ImportManager({ siteId, disabled }: ImportManagerProps) {});const fileList = watch("file");- const selectedFile = fileList[0];+ const selectedFile = fileList?.[0];const onSubmit = (data: ImportFormData) => {const file = data.file[0];