Skip to content

Commit

Permalink
fix: Revert changes to recovery notification
Browse files Browse the repository at this point in the history
Wasn't intended
  • Loading branch information
ff6347 committed May 10, 2023
1 parent b24b68c commit dd82aa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Sidebar/SidebarAuth/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ export const SidebarAuth = ({

throw error;
}
if (!data) {
if (data) {
setNotification({
message: `Es gab einen Fehler beim erstellen deines Accounts mit der E-Mail ${quotesTag`${formData.email}`}. Bitte versuche es erneut.`,
type: 'error',
message: `Überprüfe deine E-Mail ${quotesTag`${email}`} nach einem Link um dein Passwort zu ändern`,
type: 'success',
});
}
};
Expand Down

0 comments on commit dd82aa0

Please sign in to comment.