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>
|
<ListItemContent>Logout</ListItemContent>
|
||||||
</ListItemButton>
|
</ListItemButton>
|
||||||
<Typography
|
<Typography
|
||||||
|
onClick={
|
||||||
|
// force service worker to update:
|
||||||
|
() => window.location.reload(true)
|
||||||
|
}
|
||||||
level='body-xs'
|
level='body-xs'
|
||||||
sx={{
|
sx={{
|
||||||
// p: 2,
|
// p: 2,
|
||||||
|
|
Loading…
Add table
Reference in a new issue