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 areas.tsx

Tim Wilsonfa14f7a889dd
diff --git a/apps/web/ui/charts/areas.tsx b/apps/web/ui/charts/areas.tsx
index d547153f12..9526a4422c 100644
--- a/apps/web/ui/charts/areas.tsx
+++ b/apps/web/ui/charts/areas.tsx
@@ -46,6 +46,7 @@ export default function Areas({
initial={{ opacity: 1 }}
exit={{ opacity: 0 }}
transition={{ duration: 0.1 }}
+ // TODO: This key changes immediately and sometimes breaks enter/exit animations
key={`${s.id}_${startDate.toString()}_${endDate.toString()}`}
>
{/* Area background mask gradient */}