mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-10 02:15:11 +00:00
Cleanup
This commit is contained in:
parent
5068df6bf5
commit
900bf2099b
|
@ -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") {
|
||||
|
|
|
@ -21,7 +21,6 @@ export class App extends Component<any, any> {
|
|||
render() {
|
||||
const siteRes = this.isoData.site_res;
|
||||
const siteView = siteRes?.site_view;
|
||||
console.log(`Path: ${this.isoData.path}`);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Reference in a new issue