Skip to content

Commit 08c8a61

Browse files
committed
set undefined early return to null
1 parent 996a8c6 commit 08c8a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/UploadToS3Dialog/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const UploadToS3Dialog = ({ open, onClose, onAddSamples }) => {
6565
loadS3Path()
6666
// eslint-disable-next-line
6767
}, [s3Path, listBuckets, listBucketItemsAt])
68-
if (!open) return
68+
if (!open) return null
6969
return (
7070
<SimpleDialog
7171
onClose={onClose}

0 commit comments

Comments
 (0)