Skip to content

Commit faf4c4f

Browse files
committed
feat(neuron-ui): remove the exact block number in the synching progress component
1 parent 099c2f5 commit faf4c4f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • packages/neuron-ui/src/containers/Footer

packages/neuron-ui/src/containers/Footer/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { Stack, getTheme, Text, ProgressIndicator, Icon } from 'office-ui-fabric
66

77
import { StateWithDispatch } from 'states/stateProvider/reducer'
88
import { ConnectionStatus, FULL_SCREENS, Routes } from 'utils/const'
9-
import { localNumberFormatter } from 'utils/formatters'
109
import { NeuronWalletContext } from 'states/stateProvider'
1110

1211
const theme = getTheme()
@@ -43,10 +42,9 @@ export const SyncStatus = ({
4342
percentComplete={percentage}
4443
styles={{ root: { width: '120px', marginLeft: '5px', marginRight: '5px' } }}
4544
/>
46-
{`${localNumberFormatter(syncedBlockNumber) || '0'}/${localNumberFormatter(tipBlockNumber) || '0'}`}
4745
</>
4846
) : (
49-
<>{`${t('sync.synced')}, ${t('sync.block-number')}: ${localNumberFormatter(tipBlockNumber)}`}</>
47+
<>{t('sync.synced')}</>
5048
)}
5149
</div>
5250
)

0 commit comments

Comments
 (0)