fix deploy
This commit is contained in:
@@ -102,8 +102,10 @@ const SideBar: FC = () => {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{
|
{typeof window !== 'undefined' && (
|
||||||
!isLogin &&
|
(() => {
|
||||||
|
if (!isLogin)
|
||||||
|
return (
|
||||||
<div className='flex-1 flex items-end justify-center px-12'>
|
<div className='flex-1 flex items-end justify-center px-12'>
|
||||||
<Link className='w-full' href={`${LOGIN_URL}?redirect=${encodeURIComponent(window.location.href)}`}>
|
<Link className='w-full' href={`${LOGIN_URL}?redirect=${encodeURIComponent(window.location.href)}`}>
|
||||||
<Button
|
<Button
|
||||||
@@ -111,8 +113,9 @@ const SideBar: FC = () => {
|
|||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
)
|
||||||
}
|
})()
|
||||||
|
)}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user