Skip to content

Commit 2548410

Browse files
authored
Merge pull request #32 from sguryev/master
Fixing Typo `isSignedInIn`
2 parents 221d381 + e985c9c commit 2548410

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client-react/components/Routes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class Routes extends React.Component<any, any> {
3131

3232
const DefaultLayout = ({ component: Component, ...rest }: { component: any, path: string, exact?: boolean }) => (
3333
<Route {...rest} render={props => (
34-
AuthService.isSignedInIn() ? (
34+
AuthService.isSignedIn() ? (
3535
<div>
3636
<Header {...props} />
3737
<div className="container">

client-react/services/Auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ interface IAuthResponse {
66
}
77

88
export default class Auth {
9-
static isSignedInIn(): boolean {
9+
static isSignedIn(): boolean {
1010
return !!AuthStore.getToken();
1111
}
1212

0 commit comments

Comments
 (0)