mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +03:00
chore: lint
This commit is contained in:
parent
a99058805b
commit
b4c260233f
@ -115,7 +115,7 @@ export function UserContent({
|
||||
|
||||
useEffect(() => {
|
||||
if (isMe) fetchFriendRequests();
|
||||
}, [isMe]);
|
||||
}, [isMe, fetchFriendRequests]);
|
||||
|
||||
useEffect(() => {
|
||||
if (isMe && profileBackground) {
|
||||
@ -129,7 +129,7 @@ export function UserContent({
|
||||
}
|
||||
);
|
||||
}
|
||||
}, [profileBackground, isMe]);
|
||||
}, [profileBackground, isMe, userProfile.profileImageUrl]);
|
||||
|
||||
const handleFriendAction = (userId: string, action: FriendAction) => {
|
||||
try {
|
||||
|
@ -31,7 +31,7 @@ export const User = () => {
|
||||
navigate(-1);
|
||||
}
|
||||
});
|
||||
}, [dispatch, userId, t]);
|
||||
}, [dispatch, navigate, showErrorToast, userId, t]);
|
||||
|
||||
useEffect(() => {
|
||||
getUserProfile();
|
||||
|
Loading…
Reference in New Issue
Block a user