From 33e42c17bbe3df4b55d6a1e82843712f86b9ab93 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Mon, 21 Aug 2023 15:18:38 -0700 Subject: [PATCH] Clean up unnecessary curly braces --- dyesub-tool/src/main.rs | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/dyesub-tool/src/main.rs b/dyesub-tool/src/main.rs index fe7e7f1..249d4ab 100644 --- a/dyesub-tool/src/main.rs +++ b/dyesub-tool/src/main.rs @@ -40,18 +40,16 @@ fn ResultMessage(cx: Scope, message: ReadSignal>) -> i message.track(); set_open(true); }); - move || { - view! { cx, - - {move || message().map(|ResultMessageData { title, message, colorway }| view! { cx, -
>::into(colorway)] style="position: relative"> - {title} - -

{message}

-
- })} -
- } + move || view! { cx, + + {move || message().map(|ResultMessageData { title, message, colorway }| view! { cx, +
>::into(colorway)] style="position: relative"> + {title} + +

{message}

+
+ })} +
} }