From b2b32b996aa4b84390518c8a3a53b2000eae1827 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Sat, 11 Feb 2023 01:10:16 +0300 Subject: [PATCH] Add check sign to profile saving success message --- public/icons/success-sign.svg | 3 +++ src/components/Pages/profile/ProfileSettingsPage.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 public/icons/success-sign.svg diff --git a/public/icons/success-sign.svg b/public/icons/success-sign.svg new file mode 100644 index 00000000..1c2f517d --- /dev/null +++ b/public/icons/success-sign.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Pages/profile/ProfileSettingsPage.tsx b/src/components/Pages/profile/ProfileSettingsPage.tsx index 3d96ba28..ba3becf9 100644 --- a/src/components/Pages/profile/ProfileSettingsPage.tsx +++ b/src/components/Pages/profile/ProfileSettingsPage.tsx @@ -53,7 +53,7 @@ export const ProfileSettingsPage = () => { try { await submit(form) - showSnackbar({ body: t('Profile successfully saved') }) + showSnackbar({ body: ` ${t('Profile successfully saved')}` }) } catch { showSnackbar({ type: 'error', body: t('Error') }) }