mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 15:39:25 +00:00
Fix profile loading spinner
This commit is contained in:
parent
93d2d56cce
commit
fa4fe57a86
|
@ -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