File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
source/renderer/app/components/voting/voting-info Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11// @flow
22import React from 'react' ;
3+ import { observer } from 'mobx-react' ;
34import { injectIntl } from 'react-intl' ;
45import {
56 VOTING_CAST_END_DATE ,
@@ -70,4 +71,4 @@ function ResultsPhase({
7071 ) ;
7172}
7273
73- export default injectIntl ( ResultsPhase ) ;
74+ export default injectIntl ( observer ( ResultsPhase ) ) ;
Original file line number Diff line number Diff line change 11// @flow
22import React from 'react' ;
3+ import { observer } from 'mobx-react' ;
34import { injectIntl } from 'react-intl' ;
45import {
56 CURRENT_VOTING_FUND_NUMBER ,
@@ -77,4 +78,4 @@ function SnapshotPhase({
7778 ) ;
7879}
7980
80- export default injectIntl ( SnapshotPhase ) ;
81+ export default injectIntl ( observer ( SnapshotPhase ) ) ;
Original file line number Diff line number Diff line change 11// @flow
22import React from 'react' ;
3+ import { observer } from 'mobx-react' ;
34import { injectIntl } from 'react-intl' ;
45import {
56 CURRENT_VOTING_FUND_NUMBER ,
@@ -68,4 +69,4 @@ function TallyingPhase({
6869 ) ;
6970}
7071
71- export default injectIntl ( TallyingPhase ) ;
72+ export default injectIntl ( observer ( TallyingPhase ) ) ;
Original file line number Diff line number Diff line change 11// @flow
22import React from 'react' ;
3+ import { observer } from 'mobx-react' ;
34import { injectIntl } from 'react-intl' ;
45import {
56 CURRENT_VOTING_FUND_NUMBER ,
@@ -70,4 +71,4 @@ function VotingPhase({
7071 ) ;
7172}
7273
73- export default injectIntl ( VotingPhase ) ;
74+ export default injectIntl ( observer ( VotingPhase ) ) ;
You can’t perform that action at this time.
0 commit comments