Skip to content

Commit ce2c850

Browse files
committed
chore: more demo code
1 parent 202b3e3 commit ce2c850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/playground/src/stores/demo-counter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineStore, acceptHMRUpdate } from 'pinia'
22

33
const delay = (t: number) => new Promise((r) => setTimeout(r, t))
44

5-
export const useCounter = defineStore('counter', {
5+
export const useCounter = defineStore('demo-counter', {
66
state: () => ({
77
n: 0,
88
}),

0 commit comments

Comments
 (0)