Skip to content

Commit 9fb9e04

Browse files
committed
chore(tutorial/select-bindings): removed $state rune in app-b
1 parent 4fa1726 commit 9fb9e04

File tree

1 file changed

+2
-2
lines changed
  • apps/svelte.dev/content/tutorial/01-svelte/06-bindings/04-select-bindings/+assets/app-b/src/lib

1 file changed

+2
-2
lines changed

apps/svelte.dev/content/tutorial/01-svelte/06-bindings/04-select-bindings/+assets/app-b/src/lib/App.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script>
2-
let questions = $state([
2+
let questions = [
33
{
44
id: 1,
55
text: `Where did you go to school?`
@@ -12,7 +12,7 @@
1212
id: 3,
1313
text: `What is another personal fact that an attacker could easily find with Google?`
1414
}
15-
]);
15+
];
1616
1717
let selected = $state();
1818

0 commit comments

Comments
 (0)