diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-12-28 08:32:32 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-12-28 08:32:32 +0000 |
| commit | 173fb99aed957fd8b9b47455a1cb5b6cf4115c34 (patch) | |
| tree | dec7ca534312c2863e32c004140484916635a2bb /apps/web/components/ui/copy-button.tsx | |
| parent | af3010abaa37f7db4144820469422bdbb432adfc (diff) | |
| download | karakeep-173fb99aed957fd8b9b47455a1cb5b6cf4115c34.tar.zst | |
refactor: migrate toasts to sonner
Diffstat (limited to 'apps/web/components/ui/copy-button.tsx')
| -rw-r--r-- | apps/web/components/ui/copy-button.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/components/ui/copy-button.tsx b/apps/web/components/ui/copy-button.tsx index 8d8699f8..fb1f943f 100644 --- a/apps/web/components/ui/copy-button.tsx +++ b/apps/web/components/ui/copy-button.tsx @@ -1,9 +1,9 @@ import React, { useEffect, useState } from "react";
+import { toast } from "@/components/ui/sonner";
import { cn } from "@/lib/utils";
import { Check, Copy } from "lucide-react";
import { Button } from "./button";
-import { toast } from "./use-toast";
export default function CopyBtn({
className,
|
