Skip to content

Commit

Permalink
chore: spell error
Browse files Browse the repository at this point in the history
Signed-off-by: Kaifuny <superbiger.github@gmail.com>
  • Loading branch information
Kaifuny committed Jul 24, 2023
1 parent 3be7f9e commit 48aaf71
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { createPinia } from 'pinia'

export const pinia = createPinia()

// export * from './modules/apparence'
export * from './modules/apperance'
// export * from './modules/auth'
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { defineStore } from 'pinia'
import { Apparence } from '@cskefu/models'
import { Apperance } from '@cskefu/models'

export const useApparence = defineStore('alerts', {
state: (): Apparence => ({ lang: 'zh-CN', darkMode: false }),
export const useApperance = defineStore('alerts', {
state: (): Apperance => ({ lang: 'zh-CN', darkMode: false }),
getters: {
isDarkMode: (state) => state.darkMode,
getLang: (state) => state.lang,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type Apparence = {
export type Apperance = {
lang: string
darkMode: boolean
}
2 changes: 1 addition & 1 deletion contact-frontend/packages/modules/models/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './routes'
export * from './apparence'
export * from './apperance'

0 comments on commit 48aaf71

Please sign in to comment.