Handle migration when app loaded
This commit is contained in:
parent
94f0d38fe4
commit
ee40434223
|
@ -77,4 +77,8 @@ export const API = createAPIClient({
|
|||
// Log all errors to console
|
||||
console.warn(`[Client] HTTP ${status} on ${method}:${url}\n\t${message}`)
|
||||
},
|
||||
onMigrationDetected: appId => {
|
||||
// We will force a reload, that will display the updating screen until the migration is running
|
||||
window.location.reload()
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue