From 907ae66a7fa728380d1550788483b077a4ba3225 Mon Sep 17 00:00:00 2001 From: spinline Date: Wed, 11 Feb 2026 20:09:58 +0300 Subject: [PATCH] fix: resolve compilation error in ToastItem by cloning message string --- frontend/src/components/toast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/toast.rs b/frontend/src/components/toast.rs index b81b0e9..f30b368 100644 --- a/frontend/src/components/toast.rs +++ b/frontend/src/components/toast.rs @@ -93,7 +93,7 @@ fn ToastItem(toast: Toast) -> impl IntoView { >
-

{&toast.message}

+

{toast.message.clone()}