mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 12:55:56 +01:00
Lint
This commit is contained in:
parent
ae5af957a1
commit
1ecf2b88dc
1 changed files with 8 additions and 2 deletions
|
@ -497,8 +497,14 @@ export const Search: React.FC<{
|
|||
<div className='search__popout__menu'>
|
||||
{recentOptions.length > 0 ? (
|
||||
recentOptions.map(({ label, key, action, forget }, i) => (
|
||||
<div key={key} className='search__popout__menu__item search__popout__menu__item--flex'>
|
||||
<button onMouseDown={action} className={classNames({ selected: selectedOption === i })}>
|
||||
<div
|
||||
key={key}
|
||||
className='search__popout__menu__item search__popout__menu__item--flex'
|
||||
>
|
||||
<button
|
||||
onMouseDown={action}
|
||||
className={classNames({ selected: selectedOption === i })}
|
||||
>
|
||||
<span>{label}</span>
|
||||
</button>
|
||||
<button className='icon-button' onMouseDown={forget}>
|
||||
|
|
Loading…
Reference in a new issue