mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* new fields in tx details page * execution node txs page * tab for wrapped tx details * add loading state to tabs * types enhancement * change review env api host * add front app paths to review env * rename fields * [skip ci] execution node -> computor * rollback envs for review stand * add ENV for SUAVE
22 lines
398 B
TypeScript
22 lines
398 B
TypeScript
import type { Feature } from './types';
|
|
|
|
import { getEnvValue } from '../utils';
|
|
|
|
const title = 'SUAVE chain';
|
|
|
|
const config: Feature<{ isEnabled: true }> = (() => {
|
|
if (getEnvValue('NEXT_PUBLIC_IS_SUAVE_CHAIN') === 'true') {
|
|
return Object.freeze({
|
|
title,
|
|
isEnabled: true,
|
|
});
|
|
}
|
|
|
|
return Object.freeze({
|
|
title,
|
|
isEnabled: false,
|
|
});
|
|
})();
|
|
|
|
export default config;
|