diff --git a/js/src/features/particles/stream-view.tsx b/js/src/features/particles/stream-view.tsx index 3319c1d..1ff2b05 100644 --- a/js/src/features/particles/stream-view.tsx +++ b/js/src/features/particles/stream-view.tsx @@ -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 (
@@ -321,7 +315,6 @@ export function StreamView({ path, streamParticle }: StreamViewProps) { networkId={networkId} targetPath={path} onActiveChange={setComposeActive} - onParticleCreated={onLocalParticleCreated} disabled={streamParticle.status === "closed"} />