aboutsummaryrefslogtreecommitdiffstats
path: root/src/views/components/NavBar.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/components/NavBar.jsx')
-rw-r--r--src/views/components/NavBar.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/views/components/NavBar.jsx b/src/views/components/NavBar.jsx
index 25463b2..939c9fd 100644
--- a/src/views/components/NavBar.jsx
+++ b/src/views/components/NavBar.jsx
@@ -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,