Skip to content

Commit 2e97931

Browse files
committed
Fix patron check
1 parent 4e5db76 commit 2e97931

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app/src/app/pages/Patron/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import { Content } from './elements';
1212

1313
const Patron: React.FC = () => {
1414
const {
15-
state: { hasLoadedApp, isLoggedIn, user },
15+
state: { hasLoadedApp, hasLogIn, user },
1616
actions,
1717
} = useOvermind();
1818

19-
if (!isLoggedIn) {
19+
if (!hasLogIn) {
2020
location.href = '/pro';
2121
}
2222
// don't send them away before authentication

0 commit comments

Comments
 (0)