mirror of
https://github.com/hyperspacedev/hyperspace
synced 2025-01-31 01:29:37 +01:00
Add setState to else clause
This commit is contained in:
parent
75d5086d71
commit
1c663dc079
@ -152,6 +152,10 @@ class ProfilePage extends Component<any, IProfilePageState> {
|
||||
})
|
||||
} else {
|
||||
this.props.enqueueSnackbar("Reached end of posts", { variant: 'error'} );
|
||||
this.setState({
|
||||
viewIsLoading: false,
|
||||
viewDidLoad: true
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user