Skip to content

Commit

Permalink
fix: constrain conditional statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielle254 committed Nov 12, 2024
1 parent 1b97a0e commit 17d1550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(main)/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const Login = (): React.JSX.Element => {

return (
<section className={`grid ${isSignedIn === null ? '' : 'xl:grid-cols-2'} xl:grid-rows-none`}>
{isSignedIn === null || isSignedIn === true &&
{(isSignedIn === null || isSignedIn === true) &&
<GlobalSpinner data-testid="global-spinner" />
}
{isSignedIn === false &&
Expand Down

0 comments on commit 17d1550

Please sign in to comment.