From 6ec10c877b0bfd1fa59d0aac0ca7cae796e6b26a Mon Sep 17 00:00:00 2001 From: Pavel Mineev Date: Sun, 19 Dec 2021 10:58:47 -0800 Subject: [PATCH] fix lint --- frontend/app/components/profile/profile.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/app/components/profile/profile.tsx b/frontend/app/components/profile/profile.tsx index 20ee8f83..c180b0bb 100644 --- a/frontend/app/components/profile/profile.tsx +++ b/frontend/app/components/profile/profile.tsx @@ -62,6 +62,8 @@ export function Profile() { } finally { setIsCommentsLoading(false); } + // Disable the rule because we won't have any update in `user` + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); function handleClickClose() {