From e229afe026cfbf3bf21d57ddff7235f0d575ef3c Mon Sep 17 00:00:00 2001 From: hippoz Date: Wed, 20 Jan 2021 02:52:16 +0200 Subject: [PATCH] maybe fix error message not appearing on user data fetch exeption --- bfrontend/src/Components/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfrontend/src/Components/App.js b/bfrontend/src/Components/App.js index 088a3cf..a1e8fd4 100644 --- a/bfrontend/src/Components/App.js +++ b/bfrontend/src/Components/App.js @@ -28,7 +28,7 @@ function App({ user }) { }); }, [dispatch]); - if (user === null) { + if (user === null && !hasError) { return (

Loading...