From 07761f55bc340c75f9c7380cbed66a028c47e85d Mon Sep 17 00:00:00 2001 From: Florent Becker Date: Sun, 31 Jul 2022 17:17:25 +0200 Subject: [PATCH] =?UTF-8?q?main.rs:=20m=C3=A9nage=20(suppression=20de=20co?= =?UTF-8?q?de=20mort)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main.rs b/src/main.rs index 96b255c..93189e4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -196,14 +196,6 @@ struct BarreCôtéProp<'a> { queues: &'a Signal>>, } -fn classe_visible(b: bool) -> &'static str { - if b { - "visible" - } else { - "hidden" - } -} - #[component] fn Explications<'a, G: Html>(cx: Scope<'a>) -> View { details() @@ -221,7 +213,6 @@ fn Explications<'a, G: Html>(cx: Scope<'a>) -> View { #[component] fn BarreCôté<'a, G: Html>(cx: Scope<'a>, p: BarreCôtéProp<'a>) -> View { - let conf_visible = create_signal(cx, false); let nom_nouvelle_file = create_signal(cx, String::new()); let nouvelle_file = { let queues = p.queues.clone();