We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43ad1fc commit 0d001e1Copy full SHA for 0d001e1
1 file changed
src/App.js
@@ -175,8 +175,8 @@ class App extends React.Component {
175
}
176
177
initializeData = async () => {
178
- await this.checkUploadedDatasets();
179
- if (!this.state.uploadedDatasets[0]) {
+ const datasets = await this.checkUploadedDatasets();
+ if (!datasets[0]) {
180
await this.checkForDemoFile();
181
182
};
@@ -449,6 +449,7 @@ class App extends React.Component {
449
450
451
);
452
+ return newUploadedDatasets.map((d) => d.status);
453
454
455
renderUploadButton = (index) => {
0 commit comments