Fix inability to go to Home from Settings (#1506)

This commit is contained in:
Alec Armbruster 2023-06-22 22:46:38 -04:00 committed by GitHub
parent fdb370a88d
commit d127b5626d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -642,7 +642,7 @@ export class Home extends Component<any, HomeState> {
const siteRes = this.state.siteRes; const siteRes = this.state.siteRes;
if (dataType === DataType.Post) { if (dataType === DataType.Post) {
switch (this.state.postsRes.state) { switch (this.state.postsRes?.state) {
case "loading": case "loading":
return ( return (
<h5> <h5>