remove top bar from stream-view
This commit is contained in:
@@ -15,6 +15,7 @@ import { useNetworks } from "@/hooks/use-networks";
|
||||
import { particlePath } from "@/lib/particle-path";
|
||||
import { useParticle } from "@/hooks/use-particle";
|
||||
import type { Particle } from "@/api/types";
|
||||
import { PropsWithChildren } from "react";
|
||||
|
||||
function getParticleDisplayName(particle: Particle): string {
|
||||
switch (particle.type) {
|
||||
@@ -127,11 +128,11 @@ function TopBar() {
|
||||
);
|
||||
}
|
||||
|
||||
export default function Layout() {
|
||||
export default function Layout({ children }: PropsWithChildren) {
|
||||
return (
|
||||
<div className="flex h-screen flex-col">
|
||||
<TopBar />
|
||||
<Outlet />
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user