fix: implement stream playback cleaner structure

This commit is contained in:
talksik
2026-03-18 17:13:41 -07:00
parent 80b21ce58a
commit 69d6ec2ca2
18 changed files with 461 additions and 447 deletions
+7 -3
View File
@@ -1,7 +1,8 @@
import { useParams } from "react-router-dom";
import { particlePath } from "@/lib/particle-path";
import { ParticleListView } from "@/features/particles/particle-list-view";
import { useComposeKeyboard } from "@/features/compose/use-compose-keyboard";
import ControlsIndicator from "@/features/compose/controls-indicator";
import { ComposeOverlay } from "./compose/compose-overlay";
/**
* Route-level component for /:networkId (index).
@@ -10,9 +11,12 @@ import { useComposeKeyboard } from "@/features/compose/use-compose-keyboard";
export default function NetworkRoot() {
const { networkId } = useParams();
const path = particlePath(networkId!, []);
useComposeKeyboard();
return (
<ParticleListView path={path} />
<>
<ParticleListView path={path} />
<ControlsIndicator type={"new"} />
<ComposeOverlay networkId={networkId!} />
</>
);
}