Add check sign to profile saving success message
This commit is contained in:
parent
0212a3ef85
commit
b2b32b996a
3
public/icons/success-sign.svg
Normal file
3
public/icons/success-sign.svg
Normal 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 |
|
@ -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') })
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user