From edd7654d3fe473444c6f834f1b4cc4557f4f625b Mon Sep 17 00:00:00 2001 From: dot-mike <586280+dot-mike@users.noreply.github.com> Date: Sat, 14 Dec 2024 21:33:23 +0100 Subject: [PATCH] fix: remove unnecessary console logs from App and ConfigPage components This remove leftover printsout to the console from development process --- src/renderer/components/app.tsx | 3 --- src/renderer/components/pages/ConfigPage.tsx | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/renderer/components/app.tsx b/src/renderer/components/app.tsx index 36ea21a93..bd7e2cafd 100644 --- a/src/renderer/components/app.tsx +++ b/src/renderer/components/app.tsx @@ -259,10 +259,8 @@ export class App extends React.Component { } onDatabaseLoaded() { - console.log('db load'); window.Shared.back.request(BackIn.GET_PLAYLISTS) .then(data => { - console.log('got playlists'); if (data) { this.props.mainActions.addLoaded([BackInit.PLAYLISTS]); this.props.setMainState({ playlists: data }); @@ -316,7 +314,6 @@ export class App extends React.Component { } this.props.setTagCategories(data.tagCategories); - console.log('navigating to ' + this.props.preferencesData.defaultOpeningPage); this.props.history.push(this.props.preferencesData.defaultOpeningPage); }) .then(() => { diff --git a/src/renderer/components/pages/ConfigPage.tsx b/src/renderer/components/pages/ConfigPage.tsx index cc363e2bc..cdad9f805 100644 --- a/src/renderer/components/pages/ConfigPage.tsx +++ b/src/renderer/components/pages/ConfigPage.tsx @@ -723,8 +723,6 @@ export class ConfigPage extends React.Component): JSX.Element[] => { const allStrings = this.context; return extensions.map((ext) => { - console.log(fpfssConsents); - const fpfssConsent = fpfssConsents[ext.id]; const shortContribs = [];