From 847b5917eff5f731a88c460fef27bd5831ff3d01 Mon Sep 17 00:00:00 2001 From: Gabriel Viganotti Date: Mon, 2 Dec 2024 20:20:28 -0300 Subject: [PATCH] chore: remove unnecessary cloning in code --- README.md | 2 +- src/main.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 60ebec7..eefdbff 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ To see the logs you can simply use the following command: $ docker compose logs -f ``` -Upgrading the application (without stopping the running nodes instances) can be simply achieved by pulling the new Formicaio image and restarting the service: +Upgrading the application (without stopping the running node instances) can be simply achieved by pulling the new Formicaio image and restarting the service: ``` $ docker compose pull formicaio $ docker compose down formicaio diff --git a/src/main.rs b/src/main.rs index a10cb80..02740e3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,7 +62,6 @@ async fn main() { let app = Router::new() .leptos_routes(&app_state, routes, { - let leptos_options = leptos_options.clone(); move || shell(leptos_options.clone()) }) .fallback(leptos_axum::file_and_error_handler::(