We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e663d4 commit 6ae86f1Copy full SHA for 6ae86f1
1 file changed
src/endpoints/dapp-config/dapp.config.service.ts
@@ -25,10 +25,10 @@ export class DappConfigService {
25
const chainId = networkConfig.erd_chain_id;
26
27
const overrides: Partial<DappConfig> = {};
28
- if (refreshRate !== undefined && refreshRate !== null) {
+ if (refreshRate != null) {
29
overrides.refreshRate = refreshRate;
30
}
31
- if (chainId) {
+ if (chainId != null) {
32
overrides.chainId = chainId;
33
34
0 commit comments