mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
18 lines
384 B
TypeScript
18 lines
384 B
TypeScript
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 BlockEntityL2;
|