mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
bracket spacing
This commit is contained in:
parent
5076ed4efb
commit
83f69ba0d5
5 changed files with 14 additions and 12 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue