1 parent 5a67890 commit 85760abCopy full SHA for 85760ab
1 file changed
apps/example/src/hooks/useEditorState.ts
@@ -25,7 +25,6 @@ import {
25
DEFAULT_IMAGE_WIDTH,
26
prepareImageDimensions,
27
} from '../utils/prepareImageDimensions';
28
-import { launchImageLibrary } from 'react-native-image-picker';
29
30
type CurrentLinkState = OnLinkDetected;
31
@@ -212,10 +211,7 @@ export function useEditorState() {
212
211
return;
213
}
214
215
- const response = await launchImageLibrary({
216
- mediaType: 'photo',
217
- selectionLimit: 1,
218
- });
+ const response: any = undefined;
219
220
if (response?.assets?.[0] === undefined) return;
221
0 commit comments