Skip to content

Commit

Permalink
display a spinner if we're loading/parsing supported infoFormats
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb committed Apr 24, 2023
1 parent 0c5ba10 commit a895b8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class extends React.Component {
render() {
// the selected value if missing on that layer should be set to the general info format value and not the first one.
const data = this.getInfoFormat(this.supportedInfoFormats());
return (
return this.state.loading ? <Loader /> : (
<span>
<Accordion
fillContainer
Expand Down

0 comments on commit a895b8b

Please sign in to comment.