diff --git a/src/components/activeLink.tsx b/src/components/activeLink.tsx index 2ce4a170..5233bce0 100644 --- a/src/components/activeLink.tsx +++ b/src/components/activeLink.tsx @@ -16,16 +16,8 @@ export function ActiveLink({ const pageContext = usePageContext(); const pathName = pageContext.urlPathname; - let newClassName = ''; - - if (href === pathName) { - newClassName = activeClassName; - } else { - newClassName = ''; - } - return ( - + {children} ); diff --git a/src/components/layouts/newsfeed.tsx b/src/components/layouts/newsfeed.tsx index 563fc421..357cb335 100644 --- a/src/components/layouts/newsfeed.tsx +++ b/src/components/layouts/newsfeed.tsx @@ -20,17 +20,9 @@ export default function NewsfeedLayout({ children }: { children: React.ReactNode
-
+
{children}
-
-
-

- This feature hasn't implemented yet, so resize Lume to the initial size for a better experience. - I'm sorry for this inconvenience, and I swear I will add it soon 😁 -

-
-