change toast position to top-right

This commit is contained in:
Leander Gangsø
2022-12-22 19:49:32 +01:00
parent 1c4e29fa7c
commit f29256a8f5
12 changed files with 29 additions and 29 deletions

View File

@@ -173,7 +173,7 @@ const UpdateEmailTemplate = ({
title: capitalizeFirstLetter(res.error.message),
isClosable: true,
status: 'error',
position: 'bottom-right',
position: 'top-right',
});
} else if (
res.data?._add_email_template ||
@@ -186,7 +186,7 @@ const UpdateEmailTemplate = ({
),
isClosable: true,
status: 'success',
position: 'bottom-right',
position: 'top-right',
});
setTemplateData({
...initTemplateData,