bracket spacing

This commit is contained in:
skidoodle 2022-10-22 23:48:17 +02:00
parent 5076ed4efb
commit 83f69ba0d5
5 changed files with 14 additions and 12 deletions

View file

@ -19,14 +19,15 @@ const notify = () => {
});
};
export const Icon = ({children, reference, copyValue}: Icon) => {
export const Icon = ({ children, reference, copyValue }: Icon) => {
if (copyValue) {
return (
<a
className={`cursor-pointer`}
onClick={() => {
notify(), copy(reference);
}}>
}}
>
{children}
</a>
);