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