Add force refresh functionality to NavBar component
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user