Skip to content

Commit 51a6948

Browse files
fix: replace share alert with toast notification
1 parent 793a543 commit 51a6948

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/dashboard/DashboardClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ export default function DashboardClient({ initialData, username }: DashboardClie
487487
<button
488488
onClick={() => {
489489
navigator.clipboard.writeText(window.location.href);
490-
alert('Link copied to clipboard!');
490+
toast.success('Link copied to clipboard!');
491491
}}
492492
className="flex items-center gap-2 rounded-xl border border-black/10 px-4 py-2 text-sm font-semibold hover:bg-gray-100 dark:hover:bg-zinc-800 transition"
493493
>

0 commit comments

Comments
 (0)