Fix initial loading state

This commit is contained in:
Jake Archibald
2020-11-11 16:16:24 +00:00
parent b412d4c2a5
commit 964390501e

View File

@@ -36,7 +36,7 @@ const loadingReactionDelay = 500;
export default class Results extends Component<Props, State> { export default class Results extends Component<Props, State> {
state: State = { state: State = {
showLoadingState: false, showLoadingState: this.props.loading,
}; };
/** The timeout ID between entering the loading state, and changing UI */ /** The timeout ID between entering the loading state, and changing UI */