mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 14:58:09 +09:00
fix(client): fix syntax error of pages/follow.vue
This commit is contained in:
parent
be526e7424
commit
4aa2257fed
@ -27,7 +27,9 @@ async function follow(user): Promise<void> {
|
||||
}
|
||||
|
||||
const acct = new URL(location.href).searchParams.get('acct');
|
||||
if (acct == null) return;
|
||||
if (acct == null) {
|
||||
throw new Error('acct required');
|
||||
}
|
||||
|
||||
let promise;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user