Fixed issue where apostrophe was interpreted as string causing build to fail
This commit is contained in:
parent
657fa1f49a
commit
2962dffc36
5 changed files with 3998 additions and 4019 deletions
|
@ -10,7 +10,7 @@ export default function Home() {
|
||||||
|
|
||||||
<>
|
<>
|
||||||
{!session && <>
|
{!session && <>
|
||||||
<h1>Seems like you're not logged in. Log in to get started!</h1>
|
<h1>Seems like you're not logged in. Log in to get started!</h1>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
{session && <>
|
{session && <>
|
||||||
|
@ -26,25 +26,4 @@ export default function Home() {
|
||||||
}
|
}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
||||||
if (!session) {
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<h1>Welcome User!</h1>
|
|
||||||
<div className='grid'>
|
|
||||||
<CardContainer title='Commands' link='/controlpanel/commands'>Command controls</CardContainer>
|
|
||||||
<CardContainer title='Commands' link='/controlpanel/commands'>Command controls</CardContainer>
|
|
||||||
<CardContainer title='Commands' link='/controlpanel/commands'>Command controls</CardContainer>
|
|
||||||
<CardContainer title='Commands' link='/controlpanel/commands'>Command controls</CardContainer>
|
|
||||||
<CardContainer title='Commands' link='/controlpanel/commands'>Command controls</CardContainer>
|
|
||||||
</div>
|
|
||||||
</>
|
|
||||||
)
|
|
||||||
} else {
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<h1>Seems like you're not logged in. Log in to get started!</h1>
|
|
||||||
</>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue