more friends
All checks were successful
Build Images and Deploy / Update-PROD-Stack (push) Successful in 32s
All checks were successful
Build Images and Deploy / Update-PROD-Stack (push) Successful in 32s
This commit is contained in:
@@ -100,6 +100,7 @@ export default function Friends() {
|
|||||||
setSearchQuery('');
|
setSearchQuery('');
|
||||||
setSearchResults([]);
|
setSearchResults([]);
|
||||||
toast.success('Friend request sent!');
|
toast.success('Friend request sent!');
|
||||||
|
await loadData(); // Refresh the friends list to update friendship status
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
toast.error('Failed to send request: ' + err.message);
|
toast.error('Failed to send request: ' + err.message);
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user