mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-26 09:29:10 +00:00
add onClick handler (#335)
Co-authored-by: Fabian Posenau <fabian@fphome.de>
This commit is contained in:
@@ -17,7 +17,7 @@ export default function Swatch(props: SwatchProps) {
|
|||||||
|
|
||||||
if (!color) {
|
if (!color) {
|
||||||
return (
|
return (
|
||||||
<div className={`${classes} ${style.center}`}>
|
<div className={`${classes} ${style.center}`} onClick={() => onClick('')}>
|
||||||
<IoBan />
|
<IoBan />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user