Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottregan committed Mar 21, 2021
1 parent f4440d1 commit 6ab7ca5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"scripts": {
"dev": "vite",
"dev:browser": "vite -c vite.config.browser.ts",
"build": "vuedx-typecheck . && vite build",
"build:browser": "vuedx-typecheck . && vite build -c vite.config.browser.ts",
"serve": "vite preview"
"build": "vite build",
"build:browser": "vite build -c vite.config.browser.ts",
"serve": "vite preview",
"typecheck": "vuedx-typecheck"
},
"dependencies": {
"animejs": "^3.2.1",
Expand Down
6 changes: 1 addition & 5 deletions src/pages/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default defineComponent({
get(): Unit {
return this.$store.state.options.units
},
set(value): void {
set(value:Unit): void {
this.$store.commit('updateUnits', value)
},
}
Expand All @@ -78,10 +78,6 @@ export default defineComponent({
updateGoal({ target }: Event) {
this.$store.commit('updateGoal', (<HTMLInputElement>target).value)
},
updateUnits({ target }: Event) {
console.log((<HTMLInputElement>target).value)
this.$store.commit('updateUnits', (<HTMLInputElement>target).value)
},
},
})
</script>
Expand Down

0 comments on commit 6ab7ca5

Please # to comment.