mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-04 17:35:01 +01:00
Lint
This commit is contained in:
parent
ae5af957a1
commit
1ecf2b88dc
@ -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 New Issue
Block a user