diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-02-12 22:23:14 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-02-12 22:23:14 -0600 |
| commit | 64507cf7fddef1863c466b83bb9560934ac9c928 (patch) | |
| tree | f79877cb0f2d654234965698546d3638c5ada559 /src/web | |
| parent | 779a754aeced91d6896eaeb7d6f515d8efc010c4 (diff) | |
| download | slskd-64507cf7fddef1863c466b83bb9560934ac9c928.tar.gz | |
fix bug when logging out
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/src/components/App.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js index ccecd1b2..35ef736f 100644 --- a/src/web/src/components/App.js +++ b/src/web/src/components/App.js @@ -98,7 +98,7 @@ class App extends Component { logout = () => { session.logout(); - this.setState({ ...initialState, initialized: true, login: { ...initialState.login }}); + this.setState({ login: { ...initialState.login }}); }; withTokenCheck = (component) => { |
