From 4094a32ab28da3726668ed4cddf064bbf12a6ac3 Mon Sep 17 00:00:00 2001 From: kPherox Date: Sat, 27 Apr 2019 04:28:19 +0900 Subject: [PATCH] WIP: Switch Main/Welcome component --- src/components/Main.vue | 20 ++++++++++++++++++++ src/main/Auth.ts | 2 +- src/views/App.vue | 12 +++++++++++- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 src/components/Main.vue diff --git a/src/components/Main.vue b/src/components/Main.vue new file mode 100644 index 00000000..97459365 --- /dev/null +++ b/src/components/Main.vue @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/src/main/Auth.ts b/src/main/Auth.ts index cdfc362c..ef305b7e 100644 --- a/src/main/Auth.ts +++ b/src/main/Auth.ts @@ -75,7 +75,7 @@ export default class Auth { accessToken: tokenData.accessToken, color: undefined } - db.insert(docs, function(err, newDocs) { + db.insert(docs, function (err, newDocs) { if (err) { event.sender.send(`error`, { id: "ERROR_YOU_TRY_ANOTHER_ACCOUNT", diff --git a/src/views/App.vue b/src/views/App.vue index ee00cf02..e1665bb5 100644 --- a/src/views/App.vue +++ b/src/views/App.vue @@ -1,21 +1,26 @@