From 5804d397ad46a5d593441393c364899023215f58 Mon Sep 17 00:00:00 2001 From: Tanvir Rahman Date: Sat, 16 Mar 2024 00:18:35 +0600 Subject: [PATCH] docs: removed unused composable example (#26283) --- docs/1.getting-started/7.state-management.md | 1 - 1 file changed, 1 deletion(-) 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') ```