From 7c69e68a08b23ff7fb4b95e11c61fe2d5c7fb28a Mon Sep 17 00:00:00 2001 From: antidoid Date: Tue, 30 Jan 2024 17:17:25 +0530 Subject: [PATCH] Fix: bug where the prop type was wrong --- frontend/src/components/Color.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/Color.tsx b/frontend/src/components/Color.tsx index de65457..dba6344 100644 --- a/frontend/src/components/Color.tsx +++ b/frontend/src/components/Color.tsx @@ -5,14 +5,13 @@ export default function Color({ }: { background: string; isSelected: boolean; - setIsSelected: React.Dispatch>; + setIsSelected: React.Dispatch>; }) { return (
setIsSelected()} >
); }