kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Change "#" to "/" of href warning
rodzic
f476d6c78c
commit
5d1cd6df5b
|
@ -234,7 +234,7 @@ export default class AutosuggestInput extends PureComponent<IAutosuggestInput> {
|
|||
return menu.map((item, i) => (
|
||||
<a
|
||||
className={clsx('flex cursor-pointer items-center space-x-2 px-4 py-2.5 text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 dark:text-gray-500 dark:hover:bg-gray-800 dark:focus:bg-primary-800', { selected: suggestions.size - selectedSuggestion === i })}
|
||||
href='#'
|
||||
href='/'
|
||||
role='button'
|
||||
tabIndex={0}
|
||||
onMouseDown={this.handleMenuItemClick(item)}
|
||||
|
|
Ładowanie…
Reference in New Issue