Skip to content

Commit 9f747ca

Browse files
committed
Fix diff highlighting for specific example
1 parent 0e4b7b8 commit 9f747ca

File tree

2 files changed

+1
-2
lines changed
  • apps/svelte.dev/content/tutorial/01-svelte/05-events/04-component-events

2 files changed

+1
-2
lines changed

apps/svelte.dev/content/tutorial/01-svelte/05-events/04-component-events/+assets/app-a/src/lib/Stepper.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script>
2-
let {} = $props();
32
</script>
43

54
<button>-1</button>

apps/svelte.dev/content/tutorial/01-svelte/05-events/04-component-events/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You can pass event handlers to components like any other prop. In `Stepper.svelt
77
```svelte
88
/// file: Stepper.svelte
99
<script>
10-
let { +++increment, decrement+++ } = $props();
10+
+++let { increment, decrement } = $props();+++
1111
</script>
1212
```
1313

0 commit comments

Comments
 (0)