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 d665449 commit e7e08c0Copy full SHA for e7e08c0
packages/app/src/app/pages/Sandbox/index.tsx
@@ -51,7 +51,7 @@ export const Sandbox: React.FC<Props> = ({ match }) => {
51
);
52
53
function getContent() {
54
- const { hasLogIn } = state;
+ const { hasLogIn, isLoggedIn } = state;
55
56
if (state.editor.error) {
57
const isGithub = match.params.id.includes('github');
@@ -81,7 +81,7 @@ export const Sandbox: React.FC<Props> = ({ match }) => {
81
{hasLogIn ? 'Dashboard' : 'Homepage'}
82
</Button>
83
</div>
84
- {hasLogIn && isGithub && !hasPrivateAccess && (
+ {isLoggedIn && isGithub && !hasPrivateAccess && (
85
<div style={{ maxWidth: 400, marginTop: '2.5rem', width: '100%' }}>
86
<div
87
style={{
0 commit comments