Skip to content

Commit

Permalink
CORE-2002 Fix warnings in AnalysisSubmissionLanding
Browse files Browse the repository at this point in the history
  • Loading branch information
psarando committed Aug 12, 2024
1 parent 3bdf108 commit 05e192f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/analyses/details/InfoPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function Updates(props) {
const timestamp = update.timestamp;
const message = update.message;
return (
<>
<React.Fragment key={updateIndex}>
<ListItem id={buildID(baseId, updateIndex)}>
<ListItemText
primary={`${formatDate(timestamp)} - ${status}`}
Expand All @@ -69,7 +69,7 @@ function Updates(props) {
/>
</ListItem>
<Divider component="li" />
</>
</React.Fragment>
);
})}
</List>
Expand Down
6 changes: 5 additions & 1 deletion src/components/analyses/details/ParamsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ function AnalysisParams(props) {
let columns = columnData(t);

if (isParamsFetching) {
return <TableLoading numColumns={3} numRows={10} />;
return (
<Table>
<TableLoading numColumns={3} numRows={10} />
</Table>
);
}

if (!parameters && !isParamsFetching && !paramsFetchError) {
Expand Down

0 comments on commit 05e192f

Please sign in to comment.