diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-10-02 22:35:14 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-10-02 22:35:14 +0200 |
commit | 7a5ce8683993d056b68b52bfb9b37d09b7e71d2b (patch) | |
tree | 1c2177e33eecaf49abebff70cd1b674cebdbe06b /src-vue/src/components | |
parent | 22a7bd16852498a95f9733e228e126a644b9c3ed (diff) | |
download | FlightCore-7a5ce8683993d056b68b52bfb9b37d09b7e71d2b.tar.gz FlightCore-7a5ce8683993d056b68b52bfb9b37d09b7e71d2b.zip |
fix: store is now typed
Diffstat (limited to 'src-vue/src/components')
-rw-r--r-- | src-vue/src/components/PlayButton.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-vue/src/components/PlayButton.vue b/src-vue/src/components/PlayButton.vue index d3176d87..1b0dbc77 100644 --- a/src-vue/src/components/PlayButton.vue +++ b/src-vue/src/components/PlayButton.vue @@ -1,8 +1,9 @@ <script lang="ts"> +import { defineComponent } from 'vue'; import { NorthstarState } from '../utils/NorthstarState'; import { ReleaseCanal } from '../utils/ReleaseCanal'; -export default { +export default defineComponent({ name: 'PlayButton', computed: { playButtonLabel(): string { @@ -44,7 +45,7 @@ export default { this.$store.commit('launchGame'); } } -}; +}); </script> <template> |