Skip to content

Commit

Permalink
Merge pull request #89 from Cardinal-Cryptography/add-nomination-alert
Browse files Browse the repository at this point in the history
Added nominations warning
  • Loading branch information
Marcin-Radecki authored Dec 9, 2024
2 parents b2c7163 + 328237b commit 4113a70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Aleph Zero Dashboard CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions src/pages/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { NetworkStats } from './NetworkSats';
import { Payouts } from './Payouts';
import { StakeStatus } from './StakeStatus';
import PayoutsErrorBoundary from './PayoutsErrorBoundary';
import { Warning } from '../../library/Form/Warning';

export const Overview = () => {
const { t } = useTranslation('pages');
Expand All @@ -30,6 +31,11 @@ export const Overview = () => {
<ActiveAccounts />
</PageHeading>
</PageRow>
<Warning
text={t(
'On December 16th, the Mainnet decentralizes as 9 AZF nodes are replaced by community validators in the block finalization committee. If you’re staking with an AZF node, switch to a Community Validator to keep earning rewards!'
)}
/>
<PageRow>
<StakeStatus />
</PageRow>
Expand Down

0 comments on commit 4113a70

Please sign in to comment.