fix lint
This commit is contained in:
parent
7ab05654cc
commit
63d5c89db2
|
@ -232,10 +232,12 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router
|
|||
action: () => {
|
||||
const query = {
|
||||
username: user.username,
|
||||
} as { username: string, host?: string}
|
||||
} as { username: string, host?: string };
|
||||
|
||||
if (user.host !== null) {
|
||||
query.host = user.host
|
||||
query.host = user.host;
|
||||
}
|
||||
|
||||
router.push('/search', {
|
||||
query
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue