diff --git a/frontend/src/ts/pages/profile.ts b/frontend/src/ts/pages/profile.ts index 10f9ff029..1ff4681e7 100644 --- a/frontend/src/ts/pages/profile.ts +++ b/frontend/src/ts/pages/profile.ts @@ -250,7 +250,7 @@ qs(".page.pageProfile")?.onChild("click", ".profile .userReportButton", () => { qs(".page.pageProfile")?.onChild( "click", ".profile .addFriendButton", - async (event: MouseEvent) => { + async () => { const friendName = qs(".page.pageProfile .profile")?.getAttribute("name") ?? "";