From 8cd5827646485b73638f83fc78f3149afbe6dae1 Mon Sep 17 00:00:00 2001 From: Quique <917-quique@users.noreply.0xacab.org> Date: Tue, 13 Oct 2020 14:32:25 +0200 Subject: [PATCH] fix typo: Loged -> Logged The past participle of "to log in" is "logged in". See <https://www.wordhippo.com/what-is/the-past-tense-of/log_in.html> --- src/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index a436f4b..91f21ed 100644 --- a/src/App.js +++ b/src/App.js @@ -128,7 +128,7 @@ class App extends React.Component { this.storeState("", "", ""); } - isLoged() { + isLoggedIn() { if (!this.state.token) { return false; } @@ -161,7 +161,7 @@ class App extends React.Component { render() { let component; - if (!this.isLoged()) { + if (!this.isLoggedIn()) { component = <SignIn onLogin={this.login} />; } else { component = <Panel onLogout={this.logout} />; -- GitLab