Skip to content

Commit

Permalink
Merge pull request #766 from Conflux-Chain/s37
Browse files Browse the repository at this point in the history
feat: update release info
  • Loading branch information
0x74616e67 authored May 30, 2022
2 parents f447c29 + 49e2cac commit 52a1303
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions src/app/containers/HomePage/BlockchainInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export function BlockchainInfo({ timestamp = 1 }: { timestamp?: number }) {
<Link to="/charts/tps" className="info-link">
{t(translations.charts.tps.title)}
</Link>,
plotData.tps,
lodash.isNil(plotData.tps) ? '--' : plotData.tps,
)}
</Grid>
<Grid xs={24} sm={24} md={4}>
Expand All @@ -178,15 +178,17 @@ export function BlockchainInfo({ timestamp = 1 }: { timestamp?: number }) {
<Link to="/charts/blocktime" className="info-link">
{t(translations.charts.blockTime.title)}
</Link>,
plotData.blockTime + 's',
lodash.isNil(plotData.blockTime)
? '--'
: plotData.blockTime + 's',
)}
</Grid>
<Grid xs={24} sm={24} md={4}>
{Info(
<Link to="/charts/hashrate" className="info-link">
{t(translations.charts.hashRate.title)}
</Link>,
plotData.hashRate,
lodash.isNil(plotData.hashRate) ? '--' : plotData.hashRate,
)}
</Grid>
</Grid.Container>
Expand Down
8 changes: 4 additions & 4 deletions src/app/containers/Notices/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ export const noticeInfo = {
hot: false,
type: 'Announcement',
brief: {
en: 'ConfluxScan V2.11.0 Released!',
zh: 'ConfluxScan V2.11.0 发布喽!',
en: 'ConfluxScan V2.12.0 Released!',
zh: 'ConfluxScan V2.12.0 发布喽!',
},
link: {
en:
'https://confluxscansupportcenter.zendesk.com/hc/en-us/articles/6127401433243-Apr-27-2022-May-23-2022',
'https://confluxscansupportcenter.zendesk.com/hc/en-us/articles/6257231619099-May-23-2022-May-30-2022',
zh:
'https://confluxscansupportcenter.zendesk.com/hc/zh-cn/articles/6127401433243-2022-4-27-2022-5-23',
'https://confluxscansupportcenter.zendesk.com/hc/zh-cn/articles/6257231619099-2022-5-24-2022-5-30',
},
};

Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Promise.all([completeDetect()]).then(() => {
render(App);
});

const currentVersion = 'V2.11.0';
const currentVersion = 'V2.12.0';

const brand = `
┌─┐┌─┐┌┐┌┌─┐┬ ┬ ┬─┐ ┬ ┌─┐┌─┐┌─┐┌┐┌ ${currentVersion}
Expand Down

0 comments on commit 52a1303

Please sign in to comment.