Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
test
  • Loading branch information
x213212 committed Jun 18, 2020
1 parent 6810ff9 commit 38feb92
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/ImportFromGoogleDriveDialog/index.js
Expand Up @@ -64,7 +64,7 @@ export default ({ open, onClose, onAddSamples }) => {
id: googleDriveDocument.id,
}))
)

setIsPickerOpen(false)
} else if (data.action === "cancel") {
onClose()
Expand Down Expand Up @@ -152,7 +152,6 @@ export default ({ open, onClose, onAddSamples }) => {
useEffect(() => {
if (open) {
onLoadPicker()

}
}, [open, googleScriptLoaded, onLoadPicker])

Expand Down Expand Up @@ -183,4 +182,4 @@ export default ({ open, onClose, onAddSamples }) => {
/>
</SimpleDialog>
)
}
}

0 comments on commit 38feb92

Please sign in to comment.