mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* move nav icons to separate directory * remove unnecessary "slim" suffix from some icon names * fix screenshots
19 lines
435 B
TypeScript
19 lines
435 B
TypeScript
import { chakra } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
|
|
import config from 'configs/app';
|
|
|
|
import * as BlockEntity from './BlockEntity';
|
|
|
|
const rollupFeature = config.features.rollup;
|
|
|
|
const BlockEntityL2 = (props: BlockEntity.EntityProps) => {
|
|
if (!rollupFeature.isEnabled) {
|
|
return null;
|
|
}
|
|
|
|
return <BlockEntity.default { ...props } icon={{ name: 'txn_batches' }}/>;
|
|
};
|
|
|
|
export default chakra(BlockEntityL2);
|