🚨 🎨 add new rules & fix linter warnings
This commit is contained in:
committed by
Kevin
parent
6a2e1a58d5
commit
0e12d978bb
@@ -1,6 +1,6 @@
|
||||
export const state = () => ({
|
||||
locales: ['en', 'fr', 'de'],
|
||||
locale: 'en'
|
||||
locale: 'en',
|
||||
})
|
||||
|
||||
export const mutations = {
|
||||
@@ -8,5 +8,5 @@ export const mutations = {
|
||||
if (state.locales.indexOf(locale) !== -1) {
|
||||
state.locale = locale
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user