fix: Set the loading state before redirecting
This commit is contained in:
parent
f49e3880e1
commit
da11490b00
@ -126,6 +126,7 @@ const ReviewPageWithRouter = withRouter(
|
||||
if (this.reviewQueue.size() === 0) {
|
||||
// Go to the summary screen
|
||||
this.props.setLastReview(this.metadata);
|
||||
this.props.setLoading(true);
|
||||
this.props.history.push("/review/summary");
|
||||
} else {
|
||||
// Increase the vocab
|
||||
|
Reference in New Issue
Block a user