Add check sign to profile saving success message

This commit is contained in:
kvakazyambra 2023-02-11 01:10:16 +03:00
parent 0212a3ef85
commit b2b32b996a
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
<svg width="15" height="12" viewBox="0 0 15 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.5 2.01738L12.4826 0L5.5029 6.97972L2.51738 3.99421L0.5 6.01158L5.5029 11.0145L14.5 2.01738Z" fill="#2BB452"/>
</svg>

After

Width:  |  Height:  |  Size: 266 B

View File

@ -53,7 +53,7 @@ export const ProfileSettingsPage = () => {
try {
await submit(form)
showSnackbar({ body: t('Profile successfully saved') })
showSnackbar({ body: `<Icon name="success-sign"/> ${t('Profile successfully saved')}` })
} catch {
showSnackbar({ type: 'error', body: t('Error') })
}