mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: menu links issue
This commit is contained in:
parent
7e680c7dbe
commit
e0c4cffef6
1 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,6 @@ 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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue