From a8c5b558b14ae61bf86f5732b4a924a1f53860ff Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Mon, 26 Feb 2024 13:22:59 +0530 Subject: [PATCH] fix: profile sidebar layout (#3792) --- web/layouts/user-profile-layout/layout.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web/layouts/user-profile-layout/layout.tsx b/web/layouts/user-profile-layout/layout.tsx index 5ff3891e0..60c17d8d4 100644 --- a/web/layouts/user-profile-layout/layout.tsx +++ b/web/layouts/user-profile-layout/layout.tsx @@ -28,8 +28,9 @@ export const ProfileAuthWrapper: React.FC = observer((props) => { const isAuthorizedPath = router.pathname.includes("assigned" || "created" || "subscribed"); return ( -
-
+
+ +
{isAuthorized || !isAuthorizedPath ? (
{children}
@@ -39,8 +40,6 @@ export const ProfileAuthWrapper: React.FC = observer((props) => {
)}
- -
); });