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