We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5db76 commit 2e97931Copy full SHA for 2e97931
packages/app/src/app/pages/Patron/index.tsx
@@ -12,11 +12,11 @@ import { Content } from './elements';
12
13
const Patron: React.FC = () => {
14
const {
15
- state: { hasLoadedApp, isLoggedIn, user },
+ state: { hasLoadedApp, hasLogIn, user },
16
actions,
17
} = useOvermind();
18
19
- if (!isLoggedIn) {
+ if (!hasLogIn) {
20
location.href = '/pro';
21
}
22
// don't send them away before authentication
0 commit comments