mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-03 13:40:12 +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'>
|
<div className='search__popout__menu'>
|
||||||
{recentOptions.length > 0 ? (
|
{recentOptions.length > 0 ? (
|
||||||
recentOptions.map(({ label, key, action, forget }, i) => (
|
recentOptions.map(({ label, key, action, forget }, i) => (
|
||||||
<div key={key} className='search__popout__menu__item search__popout__menu__item--flex'>
|
<div
|
||||||
<button onMouseDown={action} className={classNames({ selected: selectedOption === i })}>
|
key={key}
|
||||||
|
className='search__popout__menu__item search__popout__menu__item--flex'
|
||||||
|
>
|
||||||
|
<button
|
||||||
|
onMouseDown={action}
|
||||||
|
className={classNames({ selected: selectedOption === i })}
|
||||||
|
>
|
||||||
<span>{label}</span>
|
<span>{label}</span>
|
||||||
</button>
|
</button>
|
||||||
<button className='icon-button' onMouseDown={forget}>
|
<button className='icon-button' onMouseDown={forget}>
|
||||||
|
|
Loading…
Reference in a new issue