diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-05 23:35:41 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-05 23:35:41 +0100 |
| commit | b451f41ff837c3d47eb05a3da1e8c73f9a88f8b9 (patch) | |
| tree | dee83c433cb6d672d5b46d598482f1d270aeacf8 /animism-align | |
| parent | f6e6b1edbbb68bf6bf93a10deebd4cd55ffaff0f (diff) | |
ugh
Diffstat (limited to 'animism-align')
| -rw-r--r-- | animism-align/frontend/app/views/auth/auth.gate.js | 7 | ||||
| -rw-r--r-- | 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 ( <div className='auth'> - {this.props.logged_in - ? <div className="login">Logging in...</div> - : <AuthLogin onAuthenticate={this.load} /> - } + <AuthLogin onAuthenticate={this.load} /> </div> ) } 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 |
