From 578ed1373b1af9504217b2fecbc50de4145caa00 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Sun, 2 Jul 2023 18:10:18 +0100 Subject: [PATCH] fix: last commit --- src/animations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/animations.rs b/src/animations.rs index 908e0bc..4a07d60 100644 --- a/src/animations.rs +++ b/src/animations.rs @@ -327,7 +327,7 @@ pub async fn clear( db: &State, action: &State>, ) -> String { - let action = lock().unwrap(); + let action = action.lock().unwrap(); let r = action.send(Action::Clear); if r.is_err() || r.ok().is_none() { return get_error_message("Something went wrong");