diff options
-rw-r--r-- | application/components/app.vue | 1 | ||||
-rw-r--r-- | application/main.js | 9 |
2 files changed, 2 insertions, 8 deletions
diff --git a/application/components/app.vue b/application/components/app.vue index 6aee925..a6d3cb1 100644 --- a/application/components/app.vue +++ b/application/components/app.vue @@ -46,6 +46,7 @@ export default { }, methods: { async loadData() { + await github.init() const loadKeyboardData = async () => { if (config.enableGitHub && github.isGitHubAuthorized()) { return github.fetchLayoutAndKeymap() diff --git a/application/main.js b/application/main.js index 277f193..ed96422 100644 --- a/application/main.js +++ b/application/main.js @@ -4,12 +4,5 @@ import 'xterm/css/xterm.css' import * as Vue from 'vue' import App from './components/app.vue' -import * as github from './github' -async function main() { - await github.init() - - Vue.createApp(App).mount('body') -} - -main() +Vue.createApp(App).mount('body') |