nav: fix suspense not having fallback
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
9f04f1b96a
commit
7db6022749
@ -0,0 +1,12 @@
|
||||
"use client";
|
||||
|
||||
import { usePathname } from "next/navigation";
|
||||
import { FC } from "react";
|
||||
|
||||
import { Nav } from "./Nav";
|
||||
|
||||
export const NavClient: FC = () => {
|
||||
const pathname = usePathname();
|
||||
|
||||
return <Nav pathname={pathname} />;
|
||||
};
|
Loading…
Reference in new issue