Skip to content

Commit 72527e9

Browse files
authored
chore(tutorial/select-bindings): remove unnecessary $state rune (#1544)
* chore(tutorial/select-bindings): remove unnecessary `$state` * chore(tutorial/select-bindings): removed `$state` rune in app-b
1 parent 1d0848e commit 72527e9

File tree

2 files changed

+4
-4
lines changed
  • apps/svelte.dev/content/tutorial/01-svelte/06-bindings/04-select-bindings/+assets

2 files changed

+4
-4
lines changed

apps/svelte.dev/content/tutorial/01-svelte/06-bindings/04-select-bindings/+assets/app-a/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

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)