diff --git a/packages/builder/src/api.js b/packages/builder/src/api.js index 37894d9bbc..e93dae65f8 100644 --- a/packages/builder/src/api.js +++ b/packages/builder/src/api.js @@ -45,4 +45,9 @@ export const API = createAPIClient({ } } }, + onMigrationDetected: appId => { + window.location = `/builder/updating/${appId}?returnUrl=${encodeURI( + window.location + )}` + }, })