Skip to content

Commit

Permalink
add missing condition in error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
naueramant committed Mar 16, 2024
1 parent 802f37c commit 66e82ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/src/pages/Authentication/Login/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const LoginForm: FunctionComponent = () => {
</Conditional>

{/* Catch all error */}
<Conditional value={status !== StatusCodes.UNAUTHORIZED}>
<Conditional value={status && status !== StatusCodes.UNAUTHORIZED}>
<Alert severity="error">
<AlertTitle>Unknown login error</AlertTitle>

Expand Down

0 comments on commit 66e82ec

Please sign in to comment.