diff --git a/apps/u3/src/container/notification/NotificationLayout.tsx b/apps/u3/src/container/notification/NotificationLayout.tsx index 32e7b3c8..0ed9dcf7 100644 --- a/apps/u3/src/container/notification/NotificationLayout.tsx +++ b/apps/u3/src/container/notification/NotificationLayout.tsx @@ -1,22 +1,15 @@ import { Outlet } from 'react-router-dom'; import NotificationMenu from './NotificationMenu'; -import useLogin from '@/hooks/shared/useLogin'; -import NoLogin from '@/components/layout/NoLogin'; export default function NotificationLayout() { - const { isLogin } = useLogin(); - if (isLogin) { - return ( -
-
- -
-
- -
+ return ( +
+
+
- ); - } - - return ; +
+ +
+
+ ); } diff --git a/apps/u3/src/container/profile/ProfileLayout.tsx b/apps/u3/src/container/profile/ProfileLayout.tsx index 65705852..9a1cfaaa 100644 --- a/apps/u3/src/container/profile/ProfileLayout.tsx +++ b/apps/u3/src/container/profile/ProfileLayout.tsx @@ -9,6 +9,7 @@ import useDid from '@/hooks/profile/useDid'; import ProfileInfoCard from '@/components/profile/info/ProfileInfoCard'; import Loading from '@/components/common/loading/Loading'; import ProfileMenu from './ProfileMenu'; +import ProfileMobileHeader from './ProfileMobileHeader'; export type ProfileOutletContext = { did: string; @@ -108,7 +109,8 @@ export default function ProfileLayout() {
{/* Mobile */}
-
+ +
diff --git a/apps/u3/src/route/routes.tsx b/apps/u3/src/route/routes.tsx index 32e734dc..693059a3 100644 --- a/apps/u3/src/route/routes.tsx +++ b/apps/u3/src/route/routes.tsx @@ -344,6 +344,7 @@ export const routes: CutomRouteObject[] = [ path: '/notification', element: loadContainerElement('notification/NotificationLayout'), key: RouteKey.notification, + permissions: [RoutePermission.login], title: 'Notifications', children: [ {