aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/settings
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-12-28 08:32:32 +0000
committerMohamed Bassem <me@mbassem.com>2025-12-28 08:32:32 +0000
commit173fb99aed957fd8b9b47455a1cb5b6cf4115c34 (patch)
treedec7ca534312c2863e32c004140484916635a2bb /apps/web/app/settings
parentaf3010abaa37f7db4144820469422bdbb432adfc (diff)
downloadkarakeep-173fb99aed957fd8b9b47455a1cb5b6cf4115c34.tar.zst
refactor: migrate toasts to sonner
Diffstat (limited to 'apps/web/app/settings')
-rw-r--r--apps/web/app/settings/assets/page.tsx2
-rw-r--r--apps/web/app/settings/broken-links/page.tsx2
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";