Skip to content

Commit

Permalink
fix: remove unnecessary console logs from App and ConfigPage components
Browse files Browse the repository at this point in the history
This remove leftover printsout to the console from development process
  • Loading branch information
dot-mike committed Dec 14, 2024
1 parent 7a94cfd commit edd7654
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/renderer/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,8 @@ export class App extends React.Component<AppProps> {
}

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 });
Expand Down Expand Up @@ -316,7 +314,6 @@ export class App extends React.Component<AppProps> {
}

this.props.setTagCategories(data.tagCategories);
console.log('navigating to ' + this.props.preferencesData.defaultOpeningPage);
this.props.history.push(this.props.preferencesData.defaultOpeningPage);
})
.then(() => {
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/pages/ConfigPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -723,8 +723,6 @@ export class ConfigPage extends React.Component<ConfigPageProps, ConfigPageState
renderExtensionsMemo = memoizeOne((extensions: IExtensionDescription[], strings: LangContainer['config'], fpfssConsents: Record<string, boolean | undefined>): JSX.Element[] => {
const allStrings = this.context;
return extensions.map((ext) => {
console.log(fpfssConsents);

const fpfssConsent = fpfssConsents[ext.id];

const shortContribs = [];
Expand Down

0 comments on commit edd7654

Please sign in to comment.