Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 5e7613d

Browse files
committed
lintfix
1 parent b24ef78 commit 5e7613d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ts/pages/account/dashboard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import styled from 'styled-components';
1010
import { Button } from 'ts/components/button';
1111
import { CallToAction } from 'ts/components/call_to_action';
1212
import { ChangePoolDialog } from 'ts/components/staking/change_pool_dialog';
13-
import { ErrorModal } from 'ts/pages/governance/error_modal';
1413
import { StakingPageLayout } from 'ts/components/staking/layout/staking_page_layout';
1514
import { RemoveStakeDialog } from 'ts/components/staking/remove_stake_dialog';
1615
import { 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';
3232
import { Dispatcher } from 'ts/redux/dispatcher';
3333
import { State } from 'ts/redux/reducer';
3434
import { 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

Comments
 (0)