"use client"; import { Group } from "@/lib/api"; interface GroupSelectorProps { groups: Group[]; selected: string | null; onSelect: (id: string | null) => void; } export default function GroupSelector({ groups, selected, onSelect, }: GroupSelectorProps) { return (
{groups.map((g) => ( ))}
); }