The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
chore: improve disabled export button
flooorianfloeaf355e40e58
diff --git a/apps/web/ui/analytics/export-button.tsx b/apps/web/ui/analytics/export-button.tsxindex 1544b22ef2..7b7a870aed 100644--- a/apps/web/ui/analytics/export-button.tsx+++ b/apps/web/ui/analytics/export-button.tsx@@ -67,11 +67,6 @@ export default function ExportButton() {<buttondisabled={true}className="flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-md bg-white shadow transition-all hover:shadow-md disabled:cursor-not-allowed disabled:text-gray-400 disabled:hover:bg-white disabled:active:bg-white"- onClick={async () => {- setLoading(true);- await exportData();- setLoading(false);- }}><Download className="h-4 w-4" /></button>