mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
23 lines
400 B
TypeScript
23 lines
400 B
TypeScript
import type { Feature } from './types';
|
|
|
|
import apis from '../apis';
|
|
import multichain from './multichain';
|
|
|
|
const title = 'Blockchain statistics';
|
|
|
|
const config: Feature<{}> = (() => {
|
|
if (apis.stats || multichain.isEnabled) {
|
|
return Object.freeze({
|
|
title,
|
|
isEnabled: true,
|
|
});
|
|
}
|
|
|
|
return Object.freeze({
|
|
title,
|
|
isEnabled: false,
|
|
});
|
|
})();
|
|
|
|
export default config;
|