Skip to content

Commit

Permalink
fix: update method name
Browse files Browse the repository at this point in the history
  • Loading branch information
tikagan committed Apr 3, 2024
1 parent 9f0836d commit 706097f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/subfooter-form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const submitForm = async () => {
} else {
fieldError.value = true
}
buttonStore.set({id: 'subfooter-card-newsletter-signup', loading: false})
buttonStore.setButton({id: 'subfooter-card-newsletter-signup', loading: false})
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const useZeroButtonStore = defineStore('zero-button', () => {

const setButton = (payload) => {
buttons.value[payload.id] = payload
console.log('button ', buttons.value[payload.id])
}

/**
Expand Down

0 comments on commit 706097f

Please sign in to comment.