From 8095c71bf91b0fc9688fb257e8197627083da2c9 Mon Sep 17 00:00:00 2001 From: GamerBoss101 Date: Sun, 13 Apr 2025 06:01:07 -0400 Subject: [PATCH] Bug Fix --- src/app/(app)/profile/page.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/(app)/profile/page.tsx b/src/app/(app)/profile/page.tsx index 8ea8b17..007169b 100644 --- a/src/app/(app)/profile/page.tsx +++ b/src/app/(app)/profile/page.tsx @@ -71,7 +71,6 @@ function Mobile() { .then((data) => { if (data.message === "Friend request sent successfully") { alert("Friend request sent!"); - setRequests((prev: any) => [...prev, friendCode]); setFriendCode(""); // Clear the input field } else { alert(data.message || "Failed to send friend request.");