diff options
Diffstat (limited to 'src/components/ProfileCard.tsx')
-rw-r--r-- | src/components/ProfileCard.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index 8bc9376e0..2d3b3240e 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -306,9 +306,9 @@ export function FollowButtonInner({ )}`, ), ) - } catch (e: any) { - if (e?.name !== 'AbortError') { - Toast.show(_(msg`An issue occurred, please try again.`)) + } catch (err: any) { + if (err?.name !== 'AbortError') { + Toast.show(_(msg`An issue occurred, please try again.`), 'xmark') } } } @@ -326,9 +326,9 @@ export function FollowButtonInner({ )}`, ), ) - } catch (e: any) { - if (e?.name !== 'AbortError') { - Toast.show(_(msg`An issue occurred, please try again.`)) + } catch (err: any) { + if (err?.name !== 'AbortError') { + Toast.show(_(msg`An issue occurred, please try again.`), 'xmark') } } } |