Browse Source

fix: FileSystemObserver latest API change

tophf 1 year ago
parent
commit
6d31a7f761
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/confirm/views/app.vue

+ 1 - 1
src/confirm/views/app.vue

@@ -474,7 +474,7 @@ async function trackLocalFile() {
     await onFileChanged();
     stopResolve();
   }
-  if (fso) fso.unobserve(fileHandle);
+  if (fso) fso.disconnect();
   trackingPromise = tracking.value = false;
 }
 async function onFileChanged() {