mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 01:37:26 +00:00
Fix initial loading state
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user