chore: lint

This commit is contained in:
Zamitto 2024-08-15 18:40:48 -03:00
parent a99058805b
commit b4c260233f
2 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ export function UserContent({
useEffect(() => { useEffect(() => {
if (isMe) fetchFriendRequests(); if (isMe) fetchFriendRequests();
}, [isMe]); }, [isMe, fetchFriendRequests]);
useEffect(() => { useEffect(() => {
if (isMe && profileBackground) { if (isMe && profileBackground) {
@ -129,7 +129,7 @@ export function UserContent({
} }
); );
} }
}, [profileBackground, isMe]); }, [profileBackground, isMe, userProfile.profileImageUrl]);
const handleFriendAction = (userId: string, action: FriendAction) => { const handleFriendAction = (userId: string, action: FriendAction) => {
try { try {

View file

@ -31,7 +31,7 @@ export const User = () => {
navigate(-1); navigate(-1);
} }
}); });
}, [dispatch, userId, t]); }, [dispatch, navigate, showErrorToast, userId, t]);
useEffect(() => { useEffect(() => {
getUserProfile(); getUserProfile();