We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b572e5 commit fca498bCopy full SHA for fca498b
src/components/common/hooks/useVersionUpdate/useVersionUpdateReload.tsx
@@ -8,7 +8,6 @@ import {
8
Icon,
9
logExceptionToSentry,
10
noop,
11
- refresh,
12
ToastManager,
13
ToastVariantType,
14
} from '@devtron-labs/devtron-fe-common-lib'
@@ -138,7 +137,7 @@ export const useVersionUpdateReload = ({ toastEligibleRoutes }: VersionUpdatePro
138
137
return
139
}
140
if (document.visibilityState === 'visible') {
141
- refresh()
+ handleAppUpdate()
142
refreshing.current = true
143
} else {
144
if (typeof setBGUpdated !== 'function') return
0 commit comments