diff --git a/ui/src/data_explorer/components/WriteDataBody.js b/ui/src/data_explorer/components/WriteDataBody.js index f9497574b..94483e233 100644 --- a/ui/src/data_explorer/components/WriteDataBody.js +++ b/ui/src/data_explorer/components/WriteDataBody.js @@ -38,8 +38,9 @@ const WriteDataBody = ({ className="write-data-form--upload-button btn btn-md btn-primary" onClick={handleFileOpen} > - {uploadContent ? 'Choose Another File to Upload' - : 'Choose a File to Upload'} + {uploadContent + ? 'Choose Another File to Upload' + : 'Choose a File to Upload'} {uploadContent ?