From b856f7519f6d8d08f001642f3a8e1e3bfa419402 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 6 Nov 2024 15:10:12 +0100 Subject: [PATCH] Fix warning --- src/frontend/components/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/components/editor.rs b/src/frontend/components/editor.rs index 210d378..21d20ae 100644 --- a/src/frontend/components/editor.rs +++ b/src/frontend/components/editor.rs @@ -9,7 +9,7 @@ pub fn EditorView( content: Signal, set_content: WriteSignal, ) -> impl IntoView { - let (preview, set_preview) = create_signal(render_markdown(&content.get())); + let (preview, set_preview) = create_signal(render_markdown(&content.get_untracked())); let (show_preview, set_show_preview) = create_signal(false); view! {