You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
362 B
19 lines
362 B
import { Suspense } from "react";
|
|
|
|
import { Nav } from "@/components/Nav/Nav";
|
|
import { NavClient } from "@/components/Nav/NavClient";
|
|
|
|
import { Component } from "@/typings/component";
|
|
|
|
export const Elements: Component = ({ children }) => {
|
|
return (
|
|
<>
|
|
<Suspense fallback={<Nav pathname="" />}>
|
|
<NavClient />
|
|
</Suspense>
|
|
|
|
{children}
|
|
</>
|
|
);
|
|
};
|