From 64046acc4979762dabc6d872b3d88807dfedb1b8 Mon Sep 17 00:00:00 2001 From: Quique <917-quique@users.noreply.0xacab.org> Date: Wed, 7 Oct 2020 14:03:32 +0200 Subject: [PATCH] typo: Loged -> Logged The past participle of log in is logged in. <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 3ea2fef..77af242 100644 --- a/src/App.js +++ b/src/App.js @@ -117,7 +117,7 @@ class App extends React.Component { this.storeState("", "", ""); } - isLoged() { + isLoggedIn() { if (!this.state.token) { return false; } @@ -148,7 +148,7 @@ class App extends React.Component { render() { let component = <Panel onLogout={this.logout} />; - if (!this.isLoged()) { + if (!this.isLoggedIn()) { component = <SignIn onLogin={this.login} />; } -- GitLab