Moved Dispatch NAvbar component, to remove code dupl.; Fixed timezone bug in hub
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import type { Metadata } from "next";
|
||||
import Navbar from "./_components/navbar/Navbar";
|
||||
import { getServerSession } from "api/auth/[...nextauth]/auth";
|
||||
import { Error } from "_components/Error";
|
||||
import Navbar from "(app)/_components/Navbar";
|
||||
import { Audio } from "_components/Audio/Audio";
|
||||
import { Connection } from "./_components/navbar/Connection";
|
||||
import { Settings } from "./_components/navbar/Settings";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "VAR: Pilot",
|
||||
@@ -26,7 +29,11 @@ export default async function RootLayout({
|
||||
|
||||
return (
|
||||
<>
|
||||
<Navbar />
|
||||
<Navbar>
|
||||
<Audio />
|
||||
<Connection />
|
||||
<Settings />
|
||||
</Navbar>
|
||||
{children}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user