From 8136ce2f8885099179fb1ca142db922f014a19c9 Mon Sep 17 00:00:00 2001 From: Brandon Dash <61053131+Debbl@users.noreply.github.com> Date: Fri, 10 Feb 2023 00:07:36 +0800 Subject: [PATCH] docs: syntax error of import statement (#1989) --- packages/docs/core-concepts/actions.md | 2 +- packages/docs/zh/core-concepts/actions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/core-concepts/actions.md b/packages/docs/core-concepts/actions.md index a68ee338..3ba5cb5d 100644 --- a/packages/docs/core-concepts/actions.md +++ b/packages/docs/core-concepts/actions.md @@ -120,7 +120,7 @@ For the following examples, you can assume the following store was created: // Example File Path: // ./src/stores/counter.js -import { defineStore } from 'pinia', +import { defineStore } from 'pinia' export const useCounterStore = defineStore('counter', { state: () => ({ diff --git a/packages/docs/zh/core-concepts/actions.md b/packages/docs/zh/core-concepts/actions.md index 3acbb9c3..790a2275 100644 --- a/packages/docs/zh/core-concepts/actions.md +++ b/packages/docs/zh/core-concepts/actions.md @@ -119,7 +119,7 @@ export default { // 示例文件路径: // ./src/stores/counter.js -import { defineStore } from 'pinia', +import { defineStore } from 'pinia' const useCounterStore = defineStore('counter', { state: () => ({ -- 2.47.2