mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
Add ESLint & Run it against the system (#4470)
This commit is contained in:
parent
43eee6b32e
commit
f789e02096
106 changed files with 1235 additions and 20242 deletions
|
|
@ -49,7 +49,7 @@ const CardCallout = ({ name }) => {
|
|||
|
||||
return (
|
||||
<span className='callout'>
|
||||
<span
|
||||
<span
|
||||
onMouseEnter={handlePopoverOpen}
|
||||
onMouseLeave={handlePopoverClose}
|
||||
>{card?.name || token?.name?.value || name}</span>
|
||||
|
|
@ -74,8 +74,8 @@ const CardCallout = ({ name }) => {
|
|||
}}
|
||||
>
|
||||
<div className="callout-card">
|
||||
{ card && ( <CardDetails card={card} /> ) }
|
||||
{ token && ( <TokenDetails token={token} /> ) }
|
||||
{ card && (<CardDetails card={card} />) }
|
||||
{ token && (<TokenDetails token={token} />) }
|
||||
</div>
|
||||
</Popover>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue