Fix notifications

This commit is contained in:
Piotr Rogowski 2021-12-26 17:38:16 +01:00
parent 9b8eaa2dac
commit f4ccecdd09
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ const baseOptions = {
duration,
};
const emailNotVerified = () => notification.success({
const emailNotVerified = () => notification.warning({
message: 'Check your email',
description: 'Your email address has to be verified before you can upload files!',
...baseOptions,
@ -40,7 +40,7 @@ const restrictedPage = () => notification.error({
...baseOptions,
});
const logOutSuccessful = () => notification.warning({
const logOutSuccessful = () => notification.success({
message: 'Log out successful',
description: 'See you next time!',
...baseOptions,