Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Jul 18, 2024
1 parent c905e1c commit 82caf51
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions front_end/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ export const useUserStore = defineStore('user', {
),
})

export const usePlayerStore = defineStore('player', {
state: () => ({
visible: false,
id: 0,
}),
})

export const useLocalStore = defineStore('local', {
state: () => ({
darkmode: false,
Expand Down

0 comments on commit 82caf51

Please sign in to comment.