[Videos] avoid using fetch for blob handling where possible (#5041)

* avoid using fetch where possible

* whoopsie wrong branch

* more import fixes
This commit is contained in:
Samuel Newman 2024-08-30 19:05:38 +01:00 committed by GitHub
parent c70ec1ce1a
commit 8647c8e9f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 47 additions and 18 deletions

View file

@ -2,7 +2,8 @@ import {ImagePickerAsset} from 'expo-image-picker'
import {useMutation} from '@tanstack/react-query'
import {cancelable} from '#/lib/async/cancelable'
import {CompressedVideo, compressVideo} from 'lib/media/video/compress'
import {CompressedVideo} from '#/lib/media/video/types'
import {compressVideo} from 'lib/media/video/compress'
export function useCompressVideoMutation({
onProgress,