mirror of
https://github.com/flarum/core.git
synced 2025-08-07 08:56:38 +02:00
fix: forum/components/UserSearchSource
- Use route attr instead of href and config
This commit is contained in:
committed by
Franz Liedke
parent
2c93b5f801
commit
87414995b6
@@ -53,7 +53,7 @@ export default class UsersSearchResults {
|
||||
|
||||
return (
|
||||
<li className="UserSearchResult" data-index={'users' + user.id()}>
|
||||
<a href={app.route.user(user)} config={m.route}>
|
||||
<a route={app.route.user(user)}>
|
||||
{avatar(user)}
|
||||
{name}
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user