mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2025-01-11 04:25:50 +00:00
Cleanup
This commit is contained in:
parent
5068df6bf5
commit
900bf2099b
2 changed files with 0 additions and 3 deletions
|
@ -295,8 +295,6 @@ async function fetchIconPng(iconUrl: string) {
|
||||||
function getErrorRouteData(error: string, site?: GetSiteResponse) {
|
function getErrorRouteData(error: string, site?: GetSiteResponse) {
|
||||||
const errorPageData: ErrorPageData = { type: "error" };
|
const errorPageData: ErrorPageData = { type: "error" };
|
||||||
|
|
||||||
console.log(`Error: ${process.env.NODE_ENV}`);
|
|
||||||
|
|
||||||
// Exact error should only be seen in a development environment. Users
|
// Exact error should only be seen in a development environment. Users
|
||||||
// in production will get a more generic message.
|
// in production will get a more generic message.
|
||||||
if (process.env.NODE_ENV === "development") {
|
if (process.env.NODE_ENV === "development") {
|
||||||
|
|
|
@ -21,7 +21,6 @@ export class App extends Component<any, any> {
|
||||||
render() {
|
render() {
|
||||||
const siteRes = this.isoData.site_res;
|
const siteRes = this.isoData.site_res;
|
||||||
const siteView = siteRes?.site_view;
|
const siteView = siteRes?.site_view;
|
||||||
console.log(`Path: ${this.isoData.path}`);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in a new issue