Fix TypeError
This commit is contained in:
@@ -213,7 +213,7 @@ const ResumeMigration = () => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!MigrationManager.isActive()) {
|
if (!MigrationManager.isActive()) {
|
||||||
navigator.locks
|
navigator.locks
|
||||||
.request('migration-executor', async () => {
|
?.request('migration-executor', async () => {
|
||||||
const resumed = await MigrationManager.resume();
|
const resumed = await MigrationManager.resume();
|
||||||
if (resumed) {
|
if (resumed) {
|
||||||
await MigrationManager.awaitCompletion();
|
await MigrationManager.awaitCompletion();
|
||||||
|
|||||||
Reference in New Issue
Block a user