mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-28 00:25:33 +00:00
Remove console logs
This commit is contained in:
parent
e542aa872d
commit
a8e2b43952
|
@ -12,11 +12,8 @@ class ErrorGuard extends Component<any, any> {
|
|||
render() {
|
||||
const errorPageData = this.isoData.errorPageData;
|
||||
const siteRes = this.isoData.site_res;
|
||||
console.log("In error guard");
|
||||
console.log(errorPageData);
|
||||
|
||||
if (errorPageData || !siteRes) {
|
||||
console.log("triggered error page");
|
||||
return <ErrorPage />;
|
||||
} else {
|
||||
return this.props.children;
|
||||
|
|
Loading…
Reference in a new issue