diff --git a/docs/content/3.docs/2.directory-structure/5.composables.md b/docs/content/3.docs/2.directory-structure/5.composables.md index 18a5ce2ae7..570a6d0945 100644 --- a/docs/content/3.docs/2.directory-structure/5.composables.md +++ b/docs/content/3.docs/2.directory-structure/5.composables.md @@ -14,7 +14,7 @@ Example: (using named exports) ```js [composables/useFoo.ts] import { useState } from '#app' -export const useFoo () { +export const useFoo = () => { return useState('foo', () => 'bar') } ```