From: abias Date: Tue, 16 May 2023 00:56:08 +0000 (-0400) Subject: Cleanup X-Git-Url: http://these/git/%7Bs.link%7D?a=commitdiff_plain;h=900bf2099bc952265d318bb12096835e4f259e8f;p=lemmy-ui.git Cleanup --- diff --git a/src/server/index.tsx b/src/server/index.tsx index 952bbde..af8989f 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -295,8 +295,6 @@ async function fetchIconPng(iconUrl: string) { function getErrorRouteData(error: string, site?: GetSiteResponse) { const errorPageData: ErrorPageData = { type: "error" }; - console.log(`Error: ${process.env.NODE_ENV}`); - // Exact error should only be seen in a development environment. Users // in production will get a more generic message. if (process.env.NODE_ENV === "development") { diff --git a/src/shared/components/app/app.tsx b/src/shared/components/app/app.tsx index e7e51be..9e6e9bd 100644 --- a/src/shared/components/app/app.tsx +++ b/src/shared/components/app/app.tsx @@ -21,7 +21,6 @@ export class App extends Component { render() { const siteRes = this.isoData.site_res; const siteView = siteRes?.site_view; - console.log(`Path: ${this.isoData.path}`); return ( <>