From 2a66cacd6fffc599f1bb37141fd85f81fd4c3949 Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Tue, 11 Apr 2023 12:55:43 -0400 Subject: [PATCH] Add logout function --- components/app.vue | 1 + components/sign-out.vue | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/app.vue b/components/app.vue index f3bdeb7..bf7af5d 100644 --- a/components/app.vue +++ b/components/app.vue @@ -153,6 +153,7 @@ function start() { }).catch(error => { console.log("An error occured %O", error) this.loadingError = "Could not initialize app." + window.location.hash = 'login' }) } diff --git a/components/sign-out.vue b/components/sign-out.vue index 71e3ab6..fbdff43 100644 --- a/components/sign-out.vue +++ b/components/sign-out.vue @@ -3,20 +3,21 @@

Are you sure you want to log out?

- +
+ \ No newline at end of file