Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Dec 5, 2024
1 parent 50f22f2 commit 740c6a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const UpgradeableModel: FC<{
setModel(null);
}
});
}, []);
}, [incompleteModel]);

if (model === "loading") {
return <Skeleton height={160} />;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ export const GroupMemberList: FC<Props> = ({
(membership: GroupMemberDTO) => {
page.update((item) => (item.id === membership.id ? membership : item));
},
[page.update]
[page]
);

const removeMembership = useCallback(
(membership: GroupMemberDTO) => {
page.remove((item) => item.id === membership.id);
},
[page.remove]
[page]
);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function useForceChooseUsername(session: Session | null) {
if (shouldRedirect) {
router.push(chooseUsernameRoute());
}
}, [shouldRedirect]);
}, [shouldRedirect, router]);

return { shouldRedirect, shouldChoose };
}

0 comments on commit 740c6a8

Please sign in to comment.