Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix Upcoming
  • Loading branch information
jacogr committed Jan 12, 2021
commit 7d6926e36ae55655a17837b438e774ea37fe5a43
7 changes: 3 additions & 4 deletions packages/page-parachains/src/Overview/Upcoming.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { ParaGenesisArgs, ParaId } from '@polkadot/types/interfaces';
import React from 'react';

import { useApi, useCall } from '@polkadot/react-hooks';
import { formatNumber } from '@polkadot/util';

import { useTranslation } from '../translate';
import { sliceHex } from './util';
Expand All @@ -26,12 +27,10 @@ function Upcoming ({ id }: Props): React.ReactElement<Props> {

return (
<tr key={id.toString()}>
<td className='number'>
<h1>{id.toString()}</h1>
</td>
<td className='number'><h1>{formatNumber(id)}</h1></td>
<td className='all start together hash'>
{info && (
sliceHex(info.genesisHead)
sliceHex(info.genesisHead, 8)
)}
</td>
<td className='start'>
Expand Down