mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chore: lint
This commit is contained in:
parent
a99058805b
commit
b4c260233f
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue