-# Several packets of one variety, piled up with a count on top. One packet is -# just the packet. A pile is a React island that opens out where it stands; -# the top packet is what shows until it loads, and without JavaScript. - show_owner = local_assigns[:show_owner] - if packets.one? = render 'seeds/packet', seed: packets.first, show_owner: show_owner - else = react_component 'SeedStack', seed_stack_props(packets, show_owner:) do = render 'seeds/packet', seed: packets.first, packets: packets, show_owner: show_owner