Skip to content

Commit 4f2fc76

Browse files
authored
Fix docs typo, wrong identifier (#769)
Sorry for the PR spam, just going through the tutorial :)
1 parent 5114cb3 commit 4f2fc76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/next/introduction/adding-state.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ let signal = create_signal(123);
3939
console_log!("{}", signal.get());
4040

4141
// Update the signal with a new value.
42-
value.set(456);
42+
signal.set(456);
4343

4444
// Should print `456`.
4545
console_log!("{}", signal.get());

0 commit comments

Comments
 (0)