From ec7878707937431fd5c5dd3686d04112bc17b32b Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Wed, 13 Aug 2025 09:35:29 +0400 Subject: [PATCH] chore: linting --- src/components/custom-toast.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/components/custom-toast.tsx b/src/components/custom-toast.tsx index 572526e..463438a 100644 --- a/src/components/custom-toast.tsx +++ b/src/components/custom-toast.tsx @@ -53,7 +53,6 @@ import { LuCheckCheck, LuDownload, LuRefreshCw, - LuRocket, LuTriangleAlert, } from "react-icons/lu"; import type { ExternalToast } from "sonner"; @@ -142,23 +141,23 @@ function getToastIcon(type: ToastProps["type"], stage?: string) { case "version-update": return ( - + ); case "fetching": return ( - + ); case "twilight-update": return ( - + ); case "loading": return ( -
+
); default: return ( -
+
); } } @@ -169,10 +168,10 @@ export function UnifiedToast(props: ToastProps) { const progress = "progress" in props ? props.progress : undefined; return ( -
+
{getToastIcon(type, stage)}
-

+

{title}

@@ -217,7 +216,7 @@ export function UnifiedToast(props: ToastProps) { }} />
- + {progress.current}/{progress.total}