@@ -10,7 +10,6 @@ import styled from 'styled-components';
1010import { Button } from 'ts/components/button' ;
1111import { CallToAction } from 'ts/components/call_to_action' ;
1212import { ChangePoolDialog } from 'ts/components/staking/change_pool_dialog' ;
13- import { ErrorModal } from 'ts/pages/governance/error_modal' ;
1413import { StakingPageLayout } from 'ts/components/staking/layout/staking_page_layout' ;
1514import { RemoveStakeDialog } from 'ts/components/staking/remove_stake_dialog' ;
1615import { Heading , Paragraph } from 'ts/components/text' ;
@@ -29,6 +28,7 @@ import {
2928 AccountSelfVotingPowerOverview ,
3029 AccountVotingPowerOverview ,
3130} from 'ts/pages/account/account_voting_power_overview' ;
31+ import { ErrorModal } from 'ts/pages/governance/error_modal' ;
3232import { Dispatcher } from 'ts/redux/dispatcher' ;
3333import { State } from 'ts/redux/reducer' ;
3434import { colors } from 'ts/style/colors' ;
@@ -123,7 +123,6 @@ export const Account: React.FC<AccountProps> = () => {
123123 // NOTE: not yet implemented but left in for future reference
124124 const voteHistory : VoteHistory [ ] = [ ] ;
125125
126- const [ isErrorModalOpen , setErrorModalOpen ] = React . useState ( false ) ;
127126 const [ stakingError , setStakingError ] = React . useState < Error | undefined > ( undefined ) ;
128127 const [ isApplyModalOpen , toggleApplyModal ] = React . useState ( false ) ;
129128 const [ changePoolDetails , setChangePoolDetails ] = React . useState < PoolDetails | undefined > ( undefined ) ;
0 commit comments