Add force refresh functionality to NavBar component
This commit is contained in:
parent
9a07689dfe
commit
09c25cea0e
1 changed files with 4 additions and 0 deletions
|
@ -155,6 +155,10 @@ const NavBar = () => {
|
|||
<ListItemContent>Logout</ListItemContent>
|
||||
</ListItemButton>
|
||||
<Typography
|
||||
onClick={
|
||||
// force service worker to update:
|
||||
() => window.location.reload(true)
|
||||
}
|
||||
level='body-xs'
|
||||
sx={{
|
||||
// p: 2,
|
||||
|
|
Loading…
Add table
Reference in a new issue