mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 08:13:10 +02:00
fix(client): fix syntax error of pages/follow.vue
This commit is contained in:
parent
25f4c8688a
commit
e41810f142
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ async function follow(user): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
const acct = new URL(location.href).searchParams.get('acct');
|
const acct = new URL(location.href).searchParams.get('acct');
|
||||||
if (acct == null) return;
|
if (acct == null) {
|
||||||
|
throw new Error('acct required');
|
||||||
|
}
|
||||||
|
|
||||||
let promise;
|
let promise;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue