fix logout redirection issue

This commit is contained in:
keyan 2021-12-20 16:34:26 -06:00
parent 05301d822f
commit f19bce3659
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ export default function Header () {
</Link>
</div>
<NavDropdown.Divider />
<NavDropdown.Item onClick={signOut}>logout</NavDropdown.Item>
<NavDropdown.Item onClick={() => signOut({ callbackUrl: '/' })}>logout</NavDropdown.Item>
</NavDropdown>
{me?.hasNewNotes &&
<span className='position-absolute p-1 bg-danger' style={{ top: '5px', right: '0px' }}>