add onClick handler (#335)

Co-authored-by: Fabian Posenau <fabian@fphome.de>
This commit is contained in:
Fabian Posenau
2023-04-10 20:00:09 +02:00
committed by GitHub
parent 3df17d172f
commit 5ba27dca1d
@@ -17,7 +17,7 @@ export default function Swatch(props: SwatchProps) {
if (!color) {
return (
<div className={`${classes} ${style.center}`}>
<div className={`${classes} ${style.center}`} onClick={() => onClick('')}>
<IoBan />
</div>
);