From 6e7bfeafb43aec214a33850cac711a450b282307 Mon Sep 17 00:00:00 2001 From: Joshua Byrd Date: Mon, 30 Dec 2024 08:33:33 +1000 Subject: [PATCH] signal instead of value name of var Sorry for the PR spam, just going through the tutorial :) --- docs/next/introduction/adding-state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/next/introduction/adding-state.md b/docs/next/introduction/adding-state.md index f1bdda8f..2abd4d3a 100644 --- a/docs/next/introduction/adding-state.md +++ b/docs/next/introduction/adding-state.md @@ -39,7 +39,7 @@ let signal = create_signal(123); console_log!("{}", signal.get()); // Update the signal with a new value. -value.set(456); +signal.set(456); // Should print `456`. console_log!("{}", signal.get());