Skip to content
Snippets Groups Projects
Commit e41810f1 authored by syuilo's avatar syuilo
Browse files

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

parent 25f4c868
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment