From a9d88695101942325104d16c5276400f33f9dfe0 Mon Sep 17 00:00:00 2001 From: Arik Chakma Date: Wed, 3 Apr 2024 19:49:55 +0600 Subject: [PATCH] fix: add disable props --- src/components/RoadCard/SelectionButton.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/RoadCard/SelectionButton.tsx b/src/components/RoadCard/SelectionButton.tsx index 786e09b13..52dfa3b2b 100644 --- a/src/components/RoadCard/SelectionButton.tsx +++ b/src/components/RoadCard/SelectionButton.tsx @@ -20,6 +20,7 @@ export function SelectionButton(props: SelectionButtonProps) { !isDisabled ? 'cursor-pointer' : 'cursor-not-allowed opacity-40', className, )} + disabled={isDisabled} onClick={onClick} > {text}