aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-05-12 11:51:46 -0700
committerBrian Kim <brian@tagg.id>2021-05-12 11:51:46 -0700
commitc64e935ad14f0a5bd338e6ba066bdd388372f0a7 (patch)
tree998fa182ae682c662ecff5e7dbca9321e7cf1322 /src
parent6e76c6b1cd40189bc86659efb5421c31f9d4b600 (diff)
lint fix
Diffstat (limited to 'src')
-rw-r--r--src/components/profile/Cover.tsx2
-rw-r--r--src/components/profile/TaggAvatar.tsx2
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);
});
};