fix: prevent skipping particles in stream after creation

Closes #112
This commit is contained in:
talksik
2026-04-07 16:18:50 -07:00
parent cc190ba85f
commit cd0d817cf7
@@ -120,7 +120,6 @@ export function StreamView({ path, streamParticle }: StreamViewProps) {
next,
prev,
goTo,
goToParticle,
pause,
resume,
} = useStreamPlayback(streamParticle, path);
@@ -232,11 +231,6 @@ export function StreamView({ path, streamParticle }: StreamViewProps) {
[prev, next],
);
const onLocalParticleCreated = useCallback(
(particleId: string) => {
goToParticle(particleId);
}, [goToParticle]);
if (children.length === 0) {
return (
<div className="flex h-full flex-col items-center justify-center gap-4 bg-black text-white">
@@ -321,7 +315,6 @@ export function StreamView({ path, streamParticle }: StreamViewProps) {
networkId={networkId}
targetPath={path}
onActiveChange={setComposeActive}
onParticleCreated={onLocalParticleCreated}
disabled={streamParticle.status === "closed"}
/>