This commit is contained in:
Linus Flood
2024-09-17 08:09:29 +02:00
parent 880d81b502
commit a6222255d4
10 changed files with 14 additions and 21 deletions

View File

@@ -1,5 +1,3 @@
import { Suspense } from "react"
import { serverClient } from "@/lib/trpc/server"
import { GiftIcon, SearchIcon } from "@/components/Icons"
@@ -10,9 +8,7 @@ import HeaderLink from "../HeaderLink"
import styles from "./topMenu.module.css"
import type { TopMenuProps } from "@/types/components/header/topMenu"
export default async function TopMenu({}: TopMenuProps) {
export default async function TopMenu() {
const [intl, languages, headerData] = await Promise.all([
getIntl(),
serverClient().contentstack.languageSwitcher.get(),