cleaning up formatting

This commit is contained in:
Erin
2019-07-25 19:58:01 -05:00
parent df95c8f29c
commit d635d1e607
5 changed files with 116 additions and 113 deletions

View File

@@ -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
}
}
}
}