aboutsummaryrefslogtreecommitdiff
path: root/pages/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/index.tsx')
-rw-r--r--pages/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index 9c56f52..bd7100e 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -68,7 +68,7 @@ export default class HomePage extends Component {
})
.then(request => this.setState({
info: request.data,
- loggedIn: request.data == {}
+ loggedIn: request.status == 200
}))
.catch(console.log);
}