remove top bar from stream-view

This commit is contained in:
talksik
2026-03-21 11:18:13 -07:00
parent 9ca12922b4
commit e1375eddfa
3 changed files with 138 additions and 38 deletions
+3 -2
View File
@@ -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>
);
}