diff --git a/src/shared/SideBar.tsx b/src/shared/SideBar.tsx index 189fdf5..727eafa 100644 --- a/src/shared/SideBar.tsx +++ b/src/shared/SideBar.tsx @@ -102,17 +102,20 @@ const SideBar: FC = () => { - { - !isLogin && -
- -
- - } + {typeof window !== 'undefined' && ( + (() => { + if (!isLogin) + return ( +
+ +
+ ) + })() + )}