Commit 1638f7a0 authored by Mohammad Nakhaee's avatar Mohammad Nakhaee
Browse files

Fix linting problems

parent cd80f223
Pipeline #132386 canceled with stages
in 14 minutes and 31 seconds
......@@ -1112,17 +1112,22 @@ export const SectionPlots = React.memo(function SectionPlots({section, sectionDe
))}
</TextField>}
{selected
.map(label => plots.find(plot => plot.label === label))?.map(plot => <ErrorHandler
key={plot.label}
className={classes.error}
message={errorMessage}>
<XYPlot
sectionDef={sectionDef}
section={section}
plot={plot}
title={plot.label}
/>
</ErrorHandler>)}
.map(label => plots.find(plot => plot.label === label))
?.map(plot => (
<ErrorHandler
key={plot.label}
className={classes.error}
message={errorMessage}
>
<XYPlot
sectionDef={sectionDef}
section={section}
plot={plot}
title={plot.label}
/>
</ErrorHandler>
))
}
</Box>
</Compartment>
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment