diff --git a/docs/1.getting-started/7.state-management.md b/docs/1.getting-started/7.state-management.md index 1f58ce72c5..b9d58a4402 100644 --- a/docs/1.getting-started/7.state-management.md +++ b/docs/1.getting-started/7.state-management.md @@ -192,7 +192,6 @@ const date = useLocaleDate(new Date('2016-10-26')) By using [auto-imported composables](/docs/guide/directory-structure/composables) we can define global type-safe states and import them across the app. ```ts twoslash [composables/states.ts] -export const useCounter = () => useState('counter', () => 0) export const useColor = () => useState('color', () => 'pink') ```