cleaning up formatting
This commit is contained in:
@@ -3,9 +3,9 @@ export const state = () => ({
|
||||
})
|
||||
|
||||
export const mutations = {
|
||||
toggleCardsShown (state) {
|
||||
console.log(state.cardsShown)
|
||||
if (process.browser) localStorage.setItem('cardsShown', !state.cardsShown)
|
||||
toggleCardsShown(state) {
|
||||
console.log(state.cardsShown)
|
||||
if (process.browser) localStorage.setItem('cardsShown', !state.cardsShown)
|
||||
state.cardsShown = !state.cardsShown
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user