diff --git a/src/containers/dispute/index.js b/src/containers/dispute/index.js
index 5c520f0..4f1a120 100644
--- a/src/containers/dispute/index.js
+++ b/src/containers/dispute/index.js
@@ -104,20 +104,21 @@ class Dispute extends PureComponent {
/>
)
})),
- {
- anchor: 'Ruling',
- element: (
-
- )
- },
...(dispute.data.hasRuled
- ? []
+ ? [
+ {
+ anchor: 'Ruling',
+ element: (
+
+ )
+ }
+ ]
: [
{
anchor: 'Vote',
diff --git a/src/reducers/dispute.js b/src/reducers/dispute.js
index d07150f..c2a227f 100644
--- a/src/reducers/dispute.js
+++ b/src/reducers/dispute.js
@@ -20,8 +20,10 @@ const dispute = PropTypes.shape({
deadline: PropTypes.instanceOf(Date).isRequired,
disputeState: PropTypes.number.isRequired,
disputeStatus: PropTypes.number.isRequired,
- voteCounters: PropTypes.number.isRequired,
- PNKRepartitions: PropTypes.number.isRequired,
+ voteCounters: PropTypes.arrayOf(
+ PropTypes.arrayOf(PropTypes.number.isRequired).isRequired
+ ).isRequired,
+ netPNK: PropTypes.number.isRequired,
// Store Data
description: PropTypes.string.isRequired,