prettier write

This commit is contained in:
Iliya Brook 2024-03-06 15:19:06 +02:00
parent 4ceae08fc5
commit afd5bc53a0

View File

@ -216,8 +216,8 @@ class ActionPreview<S, A extends Action<string>> extends Component<
]) ])
} }
> >
{'(pin)'} {'(pin)'}
</span> </span>
<span <span
css={(theme) => ({ css={(theme) => ({
fontSize: '0.7em', fontSize: '0.7em',
@ -228,15 +228,15 @@ class ActionPreview<S, A extends Action<string>> extends Component<
}, },
color: theme.PIN_COLOR, color: theme.PIN_COLOR,
})} })}
onClick={event => { onClick={(event) => {
event.stopPropagation(); event.stopPropagation();
this.copyToClipboard(); this.copyToClipboard();
}} }}
> >
{'(copy)'} {'(copy)'}
</span> </span>
{!expanded && ': '} {!expanded && ': '}
</span> </span>
); );
}; };
} }