diff --git a/components/MessageArea.vue b/components/MessageArea.vue
index f3b86a6..7d20ff0 100644
--- a/components/MessageArea.vue
+++ b/components/MessageArea.vue
@@ -18,6 +18,7 @@
diff --git a/composables/auth.ts b/composables/auth.ts
index 5c42d73..19ac694 100644
--- a/composables/auth.ts
+++ b/composables/auth.ts
@@ -64,7 +64,7 @@ export const useAuth = () => {
method: "POST"
}) as any;
console.log("finished refreshing:", res);
- if (res.access_token) {
+ if (res && res.access_token) {
accessToken.value = res.access_token;
console.log("set new access token");
} else {
diff --git a/layouts/auth.vue b/layouts/auth.vue
index a395a7c..356dcd5 100644
--- a/layouts/auth.vue
+++ b/layouts/auth.vue
@@ -1,50 +1,48 @@
-
-
-
-
-
- {{ instanceError }}
-
-
+
+
+
+
+ {{ instanceError }}
-
+
+
+
+
+ You're logged in!
+
+
+
-
- You're logged in!
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
+