Add button to deselect plans

This commit is contained in:
Brandon Presley 2024-02-21 17:59:05 +13:00
parent e7c0460166
commit 7abcea5710

View File

@ -94,7 +94,10 @@ export default function PlanList() {
return (
<>
<DrawerHeader name={ids.length > 0 ? `${ids.length} selected` : "Plans"}>
<DrawerHeader name={ids.length > 0 ? `${ids.length} selected` : "Plans"}
ids={ids}
unSelect={() => setIds([])}
>
<ListMenu
onClear={clear}
onCopy={copy}