diff options
Diffstat (limited to 'examples/framework-alpine/src')
-rw-r--r-- | examples/framework-alpine/src/components/Counter.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/framework-alpine/src/components/Counter.astro b/examples/framework-alpine/src/components/Counter.astro index 0aebebb98..cb5bbcb17 100644 --- a/examples/framework-alpine/src/components/Counter.astro +++ b/examples/framework-alpine/src/components/Counter.astro @@ -6,7 +6,7 @@ export interface Props { initialCount?: number; } -const { initialCount = 0 } = Astro.props as Props; +const { initialCount = 0 } = Astro.props; --- <div class="counter" x-data={`{ count: ${initialCount} }`}> |