Skip to content

Commit

Permalink
feat: disable unstable feature
Browse files Browse the repository at this point in the history
  • Loading branch information
acezard committed Sep 4, 2023
1 parent ec80628 commit 7ce7c11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/drive/web/modules/views/Upload/useUploadFromFlagship.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export const useResumeUploadFromFlagship = (): void => {
const uploadQueue = useSelector(getUploadQueue) as FileFromNative[]

useEffect(() => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const doResumeCheck = async (): Promise<void> => {
if (!webviewIntent) return

Expand Down Expand Up @@ -158,6 +159,7 @@ export const useResumeUploadFromFlagship = (): void => {
}
}

void doResumeCheck()
// Deactivating the feature for now because it receives an older state from the Flagship app which creates issues
// void doResumeCheck()
}, [client, dispatch, uploadQueue.length, webviewIntent])
}

0 comments on commit 7ce7c11

Please sign in to comment.