From 67cf45ffbce098f066491cc51dabf343ec07b5fd Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 14 Oct 2025 03:57:05 +0000 Subject: [PATCH] Coerce remaining toast variants (hooks) cgen-d8d51c7853bf45f2988ae84a6a1fb3b4 --- client/hooks/use-aethex-toast.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/hooks/use-aethex-toast.ts b/client/hooks/use-aethex-toast.ts index aeb3433b..056daab5 100644 --- a/client/hooks/use-aethex-toast.ts +++ b/client/hooks/use-aethex-toast.ts @@ -33,7 +33,7 @@ export const useAethexToast = () => { const error = (options: AethexToastOptions) => { return baseToast({ title: `⚡ ${options.title || "Error"}`, - description: options.description, + description: normalize(options.description), duration: options.duration || 5000, variant: "destructive", }); @@ -42,7 +42,7 @@ export const useAethexToast = () => { const warning = (options: AethexToastOptions) => { return baseToast({ title: `⚠️ ${options.title || "Warning"}`, - description: options.description, + description: normalize(options.description), duration: options.duration || 5000, variant: "warning" as any, }); @@ -51,7 +51,7 @@ export const useAethexToast = () => { const info = (options: AethexToastOptions) => { return baseToast({ title: `ℹ️ ${options.title || "Information"}`, - description: options.description, + description: normalize(options.description), duration: options.duration || 5000, variant: "info" as any, });