mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 14:21:13 +00:00
Fix profile loading spinner
This commit is contained in:
parent
93d2d56cce
commit
fa4fe57a86
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ export class Profile extends Component<
|
||||||
async fetchUserData() {
|
async fetchUserData() {
|
||||||
const { page, sort, view } = getProfileQueryParams();
|
const { page, sort, view } = getProfileQueryParams();
|
||||||
|
|
||||||
this.setState({ personRes: { state: "empty" } });
|
this.setState({ personRes: { state: "loading" } });
|
||||||
this.setState({
|
this.setState({
|
||||||
personRes: await HttpService.client.getPersonDetails({
|
personRes: await HttpService.client.getPersonDetails({
|
||||||
username: this.props.match.params.username,
|
username: this.props.match.params.username,
|
||||||
|
|
Loading…
Reference in a new issue