Bump react-native-document-picker from 4.3.0 to 8.1.1
This commit is contained in:
1 parent
1d9caa4d0e
commit
fdf78dc7a7
3 files changed
+8
-5
No files matched your search
@@ -27,7 +27,7 @@ export function openImportDialog(onImportData) {
|
||||
export async function getFileContent() {
|
||||
let fileInfo
|
||||
try {
|
||||
fileInfo = await DocumentPicker.pick({
|
||||
fileInfo = await DocumentPicker.pickSingle({
|
||||
type: [DocumentPicker.types.csv, 'text/comma-separated-values'],
|
||||
})
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user