mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-27 03:35:50 +03:00
Switch to logged-in instance URL
This commit is contained in:
parent
8da6532cd3
commit
bc7ac30e74
1 changed files with 1 additions and 5 deletions
|
@ -583,11 +583,7 @@ function StatusPage() {
|
|||
});
|
||||
if (results.statuses.length) {
|
||||
const status = results.statuses[0];
|
||||
navigate(
|
||||
instance
|
||||
? `/${instance}/s/${status.id}`
|
||||
: `/s/${status.id}`,
|
||||
);
|
||||
navigate(`/s/${status.id}`);
|
||||
} else {
|
||||
throw new Error('No results');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue