fix: menu links issue

This commit is contained in:
swve 2023-06-19 19:08:23 +02:00
parent 7e680c7dbe
commit e0c4cffef6

View file

@ -11,8 +11,7 @@ import { HeaderProfileBox } from "@components/Security/HeaderProfileBox";
export const Menu = async (props: any) => {
const orgslug = props.orgslug;
const org = await getOrganizationContextInfo(orgslug, { revalidate: 1800, tags: ['organizations'] });
console.log(org);
return (
<>
@ -51,8 +50,9 @@ export const Menu = async (props: any) => {
);
};
const LinkItem = (props: any, orgslug: any) => {
const LinkItem = (props: any) => {
const link = props.link;
const orgslug = props.orgslug;
return (
<Link href={getUriWithOrg(orgslug, link)}>
<li className="flex space-x-2 items-center text-[#909192] font-medium">