diff options
-rw-r--r-- | src/components/profile/Cover.tsx | 2 | ||||
-rw-r--r-- | src/components/profile/TaggAvatar.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
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<CoverProps> = ({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<TaggAvatarProps> = ({ setValidImage(false); } }) - .catch((err) => { + .catch((_) => { setValidImage(false); }); }; |