From 088b505eb08586ec4b4f06a4feceaeb8b74a543d Mon Sep 17 00:00:00 2001 From: Danny Feliz Date: Tue, 30 Mar 2021 10:51:22 -0400 Subject: [PATCH] docs: add missing const (#412) --- docs/core-concepts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core-concepts/index.md b/docs/core-concepts/index.md index 7b4390f1..539b14df 100644 --- a/docs/core-concepts/index.md +++ b/docs/core-concepts/index.md @@ -6,7 +6,7 @@ Before diving into core concepts, we need to know that a store is defined using import { defineStore } from 'pinia' // useStore could be anything like useUser, useCart -export useStore = defineStore({ +export const useStore = defineStore({ // unique id of the store across your application id: 'storeName' }) -- 2.47.3