From 7abcea57107f6adba5c37c9096e4bb25bbf8452b Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Wed, 21 Feb 2024 17:59:05 +1300 Subject: [PATCH] Add button to deselect plans --- PlanList.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PlanList.tsx b/PlanList.tsx index 012c6db..b0f9e2a 100644 --- a/PlanList.tsx +++ b/PlanList.tsx @@ -94,7 +94,10 @@ export default function PlanList() { return ( <> - 0 ? `${ids.length} selected` : "Plans"}> + 0 ? `${ids.length} selected` : "Plans"} + ids={ids} + unSelect={() => setIds([])} + >