mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 20:31: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() {
|
||||
const { page, sort, view } = getProfileQueryParams();
|
||||
|
||||
this.setState({ personRes: { state: "empty" } });
|
||||
this.setState({ personRes: { state: "loading" } });
|
||||
this.setState({
|
||||
personRes: await HttpService.client.getPersonDetails({
|
||||
username: this.props.match.params.username,
|
||||
|
|
Loading…
Reference in a new issue