1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00

fix(client): fix syntax error of pages/follow.vue

This commit is contained in:
syuilo 2022-09-03 16:16:00 +09:00
parent 25f4c8688a
commit e41810f142

View File

@ -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;