diff options
author | Brian Kim <brian@tagg.id> | 2021-05-12 11:51:46 -0700 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-05-12 11:51:46 -0700 |
commit | c64e935ad14f0a5bd338e6ba066bdd388372f0a7 (patch) | |
tree | 998fa182ae682c662ecff5e7dbca9321e7cf1322 | |
parent | 6e76c6b1cd40189bc86659efb5421c31f9d4b600 (diff) |
lint fix
-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); }); }; |