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}

+
+ })} +
} }