🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Fix size description
Edward Cui5fdfe76cc088
diff --git a/client/src/components/SiteSettings/ImportManager.tsx b/client/src/components/SiteSettings/ImportManager.tsxindex a11e8cca1..41af8932c 100644--- a/client/src/components/SiteSettings/ImportManager.tsx+++ b/client/src/components/SiteSettings/ImportManager.tsx@@ -50,7 +50,7 @@ const importFormSchema = z.object({const file = files[0];return file && file.size <= MAX_FILE_SIZE;},- IS_CLOUD ? `File size must be less than ${MAX_FILE_SIZE / 1024 / 1024}MB` : "File size exceeds maximum allowed"+ IS_CLOUD ? `File size must be less than ${MAX_FILE_SIZE / 1024 / 1024} MB` : "File size exceeds maximum allowed").refine(files => {const file = files[0];@@ -241,7 +241,10 @@ export function ImportManager({ siteId, disabled }: ImportManagerProps) {<Upload className="h-5 w-5" />Import Data</CardTitle>- <CardDescription>Import data from other analytics platforms. Supports CSV files up to 100MB.</CardDescription>+ <CardDescription>+ Import data from other analytics platforms.{" "}+ {IS_CLOUD && `Supports CSV files up to ${MAX_FILE_SIZE / 1024 / 1024} MB.`}+ </CardDescription></CardHeader><CardContent className="space-y-4">{/* Active Import Warning */}