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/app/settings | |
| parent | af3010abaa37f7db4144820469422bdbb432adfc (diff) | |
| download | karakeep-173fb99aed957fd8b9b47455a1cb5b6cf4115c34.tar.zst | |
refactor: migrate toasts to sonner
Diffstat (limited to 'apps/web/app/settings')
| -rw-r--r-- | apps/web/app/settings/assets/page.tsx | 2 | ||||
| -rw-r--r-- | apps/web/app/settings/broken-links/page.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/app/settings/assets/page.tsx b/apps/web/app/settings/assets/page.tsx index 14144455..a2d2c9ab 100644 --- a/apps/web/app/settings/assets/page.tsx +++ b/apps/web/app/settings/assets/page.tsx @@ -5,6 +5,7 @@ import { ActionButton } from "@/components/ui/action-button"; import ActionConfirmingDialog from "@/components/ui/action-confirming-dialog"; import { Button } from "@/components/ui/button"; import { FullPageSpinner } from "@/components/ui/full-page-spinner"; +import { toast } from "@/components/ui/sonner"; import { Table, TableBody, @@ -13,7 +14,6 @@ import { TableHeader, TableRow, } from "@/components/ui/table"; -import { toast } from "@/components/ui/use-toast"; import { ASSET_TYPE_TO_ICON } from "@/lib/attachments"; import { useTranslation } from "@/lib/i18n/client"; import { api } from "@/lib/trpc"; diff --git a/apps/web/app/settings/broken-links/page.tsx b/apps/web/app/settings/broken-links/page.tsx index e2b42d07..139e8f91 100644 --- a/apps/web/app/settings/broken-links/page.tsx +++ b/apps/web/app/settings/broken-links/page.tsx @@ -2,6 +2,7 @@ import { ActionButton } from "@/components/ui/action-button"; import { FullPageSpinner } from "@/components/ui/full-page-spinner"; +import { toast } from "@/components/ui/sonner"; import { Table, TableBody, @@ -10,7 +11,6 @@ import { TableHeader, TableRow, } from "@/components/ui/table"; -import { toast } from "@/components/ui/use-toast"; import { RefreshCw, Trash2 } from "lucide-react"; import { useTranslation } from "react-i18next"; |
