Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

update error message

Steven Tey3ff07fc90fc2
diff --git a/apps/web/ui/modals/import-csv-modal/select-file.tsx b/apps/web/ui/modals/import-csv-modal/select-file.tsx
index f4e7db757f..c3074c2329 100644
--- a/apps/web/ui/modals/import-csv-modal/select-file.tsx
+++ b/apps/web/ui/modals/import-csv-modal/select-file.tsx
@@ -25,7 +25,9 @@ export function SelectFile() {
countCsvRows(file)
.then((rowCount) => {
if (rowCount > MAX_ROWS_LIMIT) {
- setError("CSV file exceeds the maximum limit of 50,000 rows.");
+ setError(
+ "CSV file exceeds the maximum limit of 50,000 rows. Please split the file into multiple files and upload them separately.",
+ );
setFileColumns(null);
setFirstRows(null);
return;