Skip to content

Commit

Permalink
fix(email-verify): ensure error exists before checking
Browse files Browse the repository at this point in the history
  • Loading branch information
schnogz committed Apr 21, 2020
1 parent d7ee29b commit 3fbea21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Error = props => {

return (
<Wrapper>
{error.includes('already been verified') ? (
{error && error.includes('already been verified') ? (
<React.Fragment>
<LogoWrapper>
<Image name='email-success' width='75px' height='75px' />
Expand Down

0 comments on commit 3fbea21

Please sign in to comment.