mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 01:43:43 +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) {
|
||||
return (
|
||||
<div className={`${classes} ${style.center}`}>
|
||||
<div className={`${classes} ${style.center}`} onClick={() => onClick('')}>
|
||||
<IoBan />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user