Skip to content

Commit b3da19b

Browse files
committed
fix: also unfuck the data export
1 parent d4b5525 commit b3da19b

File tree

1 file changed

+0
-84
lines changed

1 file changed

+0
-84
lines changed

apps/dashboard/app/(main)/websites/[id]/test/components/data-export.tsx

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -258,87 +258,3 @@ export function DataExport({ websiteId }: DataExportProps) {
258258
</Card>
259259
);
260260
}
261-
</li>
262-
<li>
263-
<strong>Proto:</strong> Protocol Buffer text format, ideal
264-
for
265-
data pipelines
266-
</li>
267-
</ul>
268-
</div>
269-
270-
<Button
271-
className="w-full"
272-
disabled=
273-
{
274-
isExporting;
275-
}
276-
onClick = { handleExport };
277-
size={isExporting ? (
278-
<>
279-
<div className="mr-2 h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" />
280-
Exporting Data...
281-
</>
282-
) : (
283-
<>
284-
<DownloadIcon className="mr-2 h-4 w-4" weight="duotone" />
285-
Export Data
286-
</>
287-
)}
288-
<
289-
"lg"
290-
</Button>
291-
292-
<div className="text-center text-muted-foreground text-xs">
293-
Website ID:
294-
{
295-
(' ');
296-
}
297-
<code className="rounded bg-muted px-1 py-0.5 font-mono">{websiteId}</code>;
298-
</div>
299-
</CardContent>
300-
</Card>
301-
)
302-
}
303-
</li>
304-
<li>
305-
<strong>Proto:</strong> Protocol Buffer text format, ideal
306-
for
307-
data pipelines
308-
</li>
309-
</ul>
310-
</div>
311-
312-
<Button
313-
className="w-full"
314-
disabled=
315-
{
316-
isExporting;
317-
}
318-
onClick = { handleExport };
319-
size={isExporting ? (
320-
<>
321-
<div className="mr-2 h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" />
322-
Exporting Data...
323-
</>
324-
) : (
325-
<>
326-
<DownloadIcon className="mr-2 h-4 w-4" weight="duotone" />
327-
Export Data
328-
</>
329-
)}
330-
<
331-
"lg"
332-
</Button>
333-
334-
<div className="text-center text-muted-foreground text-xs">
335-
Website ID:
336-
{
337-
(' ');
338-
}
339-
<code className="rounded bg-muted px-1 py-0.5 font-mono">{websiteId}</code>;
340-
</div>
341-
</CardContent>
342-
</Card>
343-
)
344-
}

0 commit comments

Comments
 (0)