aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/communityRecipes
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-04-22 15:04:21 -0500
committerLibravatar GitHub <noreply@github.com>2022-04-22 20:04:21 +0000
commit759d93dc198a3cc8c5265245c0144efa5435682b (patch)
tree53e963a085d3d12af5a2efa2f1ab6f3e5574edc7 /src/features/communityRecipes
parentAdded build scripts for linux, macos and windows to help new contributors get... (diff)
downloadferdium-app-759d93dc198a3cc8c5265245c0144efa5435682b.tar.gz
ferdium-app-759d93dc198a3cc8c5265245c0144efa5435682b.tar.zst
ferdium-app-759d93dc198a3cc8c5265245c0144efa5435682b.zip
Turn off usage of 'debug' npm package using with electron-16 (fixes #17)
Diffstat (limited to 'src/features/communityRecipes')
-rw-r--r--src/features/communityRecipes/store.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/features/communityRecipes/store.ts b/src/features/communityRecipes/store.ts
index 407a63860..afd7d0f01 100644
--- a/src/features/communityRecipes/store.ts
+++ b/src/features/communityRecipes/store.ts
@@ -1,7 +1,8 @@
1import { computed } from 'mobx'; 1import { computed } from 'mobx';
2import { FeatureStore } from '../utils/FeatureStore'; 2import { FeatureStore } from '../utils/FeatureStore';
3 3
4const debug = require('debug')('Ferdium:feature:communityRecipes:store'); 4// TODO: Go back to 'debug' from 'console.log' when https://github.com/electron/electron/issues/31689 is fixed
5// const debug = require('debug')('Ferdium:feature:communityRecipes:store');
5 6
6export class CommunityRecipesStore extends FeatureStore { 7export class CommunityRecipesStore extends FeatureStore {
7 stores: any; 8 stores: any;
@@ -9,13 +10,13 @@ export class CommunityRecipesStore extends FeatureStore {
9 actions: any; 10 actions: any;
10 11
11 start(stores: any, actions: any) { 12 start(stores: any, actions: any) {
12 debug('start'); 13 console.log('start');
13 this.stores = stores; 14 this.stores = stores;
14 this.actions = actions; 15 this.actions = actions;
15 } 16 }
16 17
17 stop() { 18 stop() {
18 debug('stop'); 19 console.log('stop');
19 super.stop(); 20 super.stop();
20 } 21 }
21 22