Skip to content

Commit

Permalink
fix: fixxed updatebutton where it doesnt update
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Drohsen committed Sep 10, 2024
1 parent 0087f0b commit f4f5e3b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,23 @@

<script>
import { Disclosure } from '@headlessui/vue'
import { useAddressesStore } from '@/stores/addresses'
import { useBuildingsStore } from '@/stores/buildings'
export default {
components: {
Disclosure
},
setup () {
const addressesStore = useAddressesStore()
const buildingsStore = useBuildingsStore()
return {
addressesStore,
buildingsStore
}
},
methods: {
updateData () {
localStorage.clear()
Expand Down

0 comments on commit f4f5e3b

Please sign in to comment.