From 68cecda546694de8a2f44e489117460db3ff6585 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 13 Apr 2021 13:41:12 +0100 Subject: [PATCH] prevent login page flash on initial render --- .../builder/src/pages/builder/_layout.svelte | 74 +++++++++---------- packages/builder/src/stores/backend/auth.js | 9 +-- 2 files changed, 40 insertions(+), 43 deletions(-) diff --git a/packages/builder/src/pages/builder/_layout.svelte b/packages/builder/src/pages/builder/_layout.svelte index 5aa378b0bc..ad03ecb28f 100644 --- a/packages/builder/src/pages/builder/_layout.svelte +++ b/packages/builder/src/pages/builder/_layout.svelte @@ -13,49 +13,49 @@ import { auth } from "stores/backend" let modal - - console.log($auth.user) -{#if $auth.user} -
-
- -