From e72c46ef473393f72908771414007c1529019b5f Mon Sep 17 00:00:00 2001 From: "L.Rain" Date: Fri, 22 Oct 2021 18:17:09 +0800 Subject: [PATCH] docs: fix typo in the composables example (#1345) --- docs/content/3.docs/2.directory-structure/5.composables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') } ```