Skip to content

Commit

Permalink
Issue #PS-360 fix: Fixed clicking on remember me should mark the chec…
Browse files Browse the repository at this point in the history
…kbox
  • Loading branch information
itsvick committed Jun 2, 2024
1 parent 669b72e commit 3d02ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ const LoginPage = () => {
</Link>
</Box>
<Box marginTop={'1.2rem'} className="remember-me-checkbox">
<Checkbox onChange={(e) => setRememberMe(e.target.checked)} />
{t('LOGIN_PAGE.REMEMBER_ME')}
<Checkbox onChange={(e) => setRememberMe(e.target.checked)} checked={rememberMe} />
<span style={{ 'cursor': 'pointer'}} onClick={() => setRememberMe(!rememberMe)}>{t('LOGIN_PAGE.REMEMBER_ME')}</span>
</Box>
<Box
alignContent={'center'}
Expand Down

0 comments on commit 3d02ec6

Please sign in to comment.