diff --git a/packages/page-explorer/src/BlockInfo/ByHash.tsx b/packages/page-explorer/src/BlockInfo/ByHash.tsx index 59f0778165..6e3e5f877a 100644 --- a/packages/page-explorer/src/BlockInfo/ByHash.tsx +++ b/packages/page-explorer/src/BlockInfo/ByHash.tsx @@ -28,8 +28,8 @@ function BlockByHash ({ className, value }: Props): React.ReactElement { const events = useCall(api.query.system.events.at, [value], { isSingle: true, transform: (events: EventRecord[]): KeyedEvent[] => - events.map((record) => ({ - key: `${Date.now()}-${record.hash.toHex()}`, + events.map((record, index) => ({ + key: `${Date.now()}-${index}-${record.hash.toHex()}`, record })) }); @@ -87,7 +87,7 @@ function BlockByHash ({ className, value }: Props): React.ReactElement { !phase.isApplyExtrinsic)} label={t('system events')} />