aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/serviceLimit
diff options
context:
space:
mode:
authorLibravatar Markandan R <rmarkandan@yahoo.com>2021-06-22 10:56:34 +0530
committerLibravatar GitHub <noreply@github.com>2021-06-22 10:56:34 +0530
commita94ed659846f0bc93c05bccf0c96785b91e5c78f (patch)
tree0a50eeb85e9043708936da9a0c923b32edbe8ab9 /src/features/serviceLimit
parentDowngraded submodule 'src/internal-server' (diff)
downloadferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.tar.gz
ferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.tar.zst
ferdium-app-a94ed659846f0bc93c05bccf0c96785b91e5c78f.zip
Removed the cyclical dependency (#1519) (#1539)
Diffstat (limited to 'src/features/serviceLimit')
-rw-r--r--src/features/serviceLimit/index.js2
-rw-r--r--src/features/serviceLimit/store.js2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/features/serviceLimit/index.js b/src/features/serviceLimit/index.js
index fa93bb615..f867e3d87 100644
--- a/src/features/serviceLimit/index.js
+++ b/src/features/serviceLimit/index.js
@@ -3,8 +3,6 @@ import { ServiceLimitStore } from './store';
3 3
4const debug = require('debug')('Ferdi:feature:serviceLimit'); 4const debug = require('debug')('Ferdi:feature:serviceLimit');
5 5
6export const DEFAULT_SERVICE_LIMIT = 3;
7
8let store = null; 6let store = null;
9 7
10export const serviceLimitStore = new ServiceLimitStore(); 8export const serviceLimitStore = new ServiceLimitStore();
diff --git a/src/features/serviceLimit/store.js b/src/features/serviceLimit/store.js
index 6510e2872..b1e55a1fc 100644
--- a/src/features/serviceLimit/store.js
+++ b/src/features/serviceLimit/store.js
@@ -1,6 +1,6 @@
1import { computed, observable } from 'mobx'; 1import { computed, observable } from 'mobx';
2import { FeatureStore } from '../utils/FeatureStore'; 2import { FeatureStore } from '../utils/FeatureStore';
3import { DEFAULT_SERVICE_LIMIT } from '.'; 3import { DEFAULT_SERVICE_LIMIT } from '../../config';
4 4
5const debug = require('debug')('Ferdi:feature:serviceLimit:store'); 5const debug = require('debug')('Ferdi:feature:serviceLimit:store');
6 6