From b451f41ff837c3d47eb05a3da1e8c73f9a88f8b9 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 5 Mar 2021 23:35:41 +0100 Subject: ugh --- animism-align/frontend/app/views/auth/auth.gate.js | 7 ++----- animism-align/frontend/app/views/user/user.css | 4 ++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/animism-align/frontend/app/views/auth/auth.gate.js b/animism-align/frontend/app/views/auth/auth.gate.js index 36d4af8..fe4ddbd 100644 --- a/animism-align/frontend/app/views/auth/auth.gate.js +++ b/animism-align/frontend/app/views/auth/auth.gate.js @@ -25,15 +25,12 @@ class AuthGate extends Component { } render() { - if (this.props.user) { + if (this.props.logged_in) { return this.props.children } return (
- {this.props.logged_in - ?
Logging in...
- : - } +
) } diff --git a/animism-align/frontend/app/views/user/user.css b/animism-align/frontend/app/views/user/user.css index aca58c7..5b8e380 100644 --- a/animism-align/frontend/app/views/user/user.css +++ b/animism-align/frontend/app/views/user/user.css @@ -7,3 +7,7 @@ .user-index { margin-top: 1rem; } + +.user-list div { + margin-bottom: 0.25rem; +} \ No newline at end of file -- cgit v1.2.3-70-g09d2