Bump react-native-document-picker from 4.3.0 to 8.1.1
This commit is contained in:
committed by
Maria Zadnepryanets
parent
1d9caa4d0e
commit
fdf78dc7a7
@@ -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