From 27d712290a908fcb471c59a8e5c8e95bd862c49c Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 23 Jul 2024 15:01:04 +0100 Subject: Use appropriate icons for toasts (#4803) * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> --- src/components/hooks/useFollowMethods.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/hooks') diff --git a/src/components/hooks/useFollowMethods.ts b/src/components/hooks/useFollowMethods.ts index 1e91a1f38..d67c3690f 100644 --- a/src/components/hooks/useFollowMethods.ts +++ b/src/components/hooks/useFollowMethods.ts @@ -32,7 +32,7 @@ export function useFollowMethods({ } catch (e: any) { logger.error(`useFollowMethods: failed to follow`, {message: String(e)}) if (e?.name !== 'AbortError') { - Toast.show(_(msg`An issue occurred, please try again.`)) + Toast.show(_(msg`An issue occurred, please try again.`), 'xmark') } } }) @@ -47,7 +47,7 @@ export function useFollowMethods({ message: String(e), }) if (e?.name !== 'AbortError') { - Toast.show(_(msg`An issue occurred, please try again.`)) + Toast.show(_(msg`An issue occurred, please try again.`), 'xmark') } } }) -- cgit 1.4.1