Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Reset platform after import

Edward Cui4fd8f32cc61b
diff --git a/client/src/components/SiteSettings/ImportManager.tsx b/client/src/components/SiteSettings/ImportManager.tsx
index b91654745..90fef04a1 100644
--- a/client/src/components/SiteSettings/ImportManager.tsx
+++ b/client/src/components/SiteSettings/ImportManager.tsx
@@ -116,6 +116,7 @@ export function ImportManager({ siteId, disabled }: ImportManagerProps) {
);
setSelectedFile(null);
+ setSelectedPlatform(undefined);
setFileError("");
if (fileInputRef.current) {
fileInputRef.current.value = "";