mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
Fix setState run before mount
This commit is contained in:
parent
f0f1e4805b
commit
092d488a74
|
@ -25,7 +25,9 @@ export class StoreProvider extends Component<SpecProps, SpecState> {
|
|||
this.state = {
|
||||
loading: true,
|
||||
};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.load();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user