chore: structure container particles for rendering children

This commit is contained in:
talksik
2026-03-17 16:02:39 -07:00
parent 4273e324e5
commit 8207872a0c
3 changed files with 16 additions and 12 deletions
@@ -45,9 +45,9 @@ export function ParticleViewResolver({ networkId, particleSegments }: ParticleVi
switch (particle.type) {
case "stream":
return <StreamView networkId={networkId} particleSegments={particleSegments} />;
return <StreamView streamParticle={particle} networkId={networkId} particleSegments={particleSegments} />;
case "folder":
return <FolderView networkId={networkId} particleSegments={particleSegments} />;
return <FolderView folderParticle={particle} networkId={networkId} particleSegments={particleSegments} />;
default:
// For container types we haven't built a view for, fall back to list
if (isContainerType(particle.type)) {