Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: missing key prop

Marc Seitzfb6069ce320e
diff --git a/.gitignore b/.gitignore
index ee0b1171..d131e9c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,6 +48,7 @@ next-env.d.ts
# Internal scripts
pages/api/scripts
+scripts/
# marketing emails
components/emails/marketing
diff --git a/components/analytics/time-range-select.tsx b/components/analytics/time-range-select.tsx
index 4f3c17ee..f89d4abe 100644
--- a/components/analytics/time-range-select.tsx
+++ b/components/analytics/time-range-select.tsx
@@ -191,7 +191,7 @@ export function TimeRangeSelect({
</Button>
);
} else {
- return <UpgradeButton />;
+ return <UpgradeButton key={range.value} />;
}
})}
</div>