From c64e935ad14f0a5bd338e6ba066bdd388372f0a7 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Wed, 12 May 2021 11:51:46 -0700 Subject: lint fix --- src/components/profile/Cover.tsx | 2 +- src/components/profile/TaggAvatar.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/components/profile/Cover.tsx b/src/components/profile/Cover.tsx index 8aa6b0d3..e0b1e7e8 100644 --- a/src/components/profile/Cover.tsx +++ b/src/components/profile/Cover.tsx @@ -141,7 +141,7 @@ const Cover: React.FC = ({userXId, screenType}) => { setValidImage(false); } }) - .catch((err) => { + .catch((_) => { setValidImage(false); }); }; diff --git a/src/components/profile/TaggAvatar.tsx b/src/components/profile/TaggAvatar.tsx index 33650a04..3b1e561e 100644 --- a/src/components/profile/TaggAvatar.tsx +++ b/src/components/profile/TaggAvatar.tsx @@ -142,7 +142,7 @@ const TaggAvatar: React.FC = ({ setValidImage(false); } }) - .catch((err) => { + .catch((_) => { setValidImage(false); }); }; -- cgit v1.2.3-70-g09d2