Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Fix issue types
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Aug 9, 2021
1 parent d258772 commit cb95c89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/custom/components/AccountDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,15 @@ interface AccountDetailsProps {
confirmedTransactions: string[]
ENSName?: string
openOptions: () => void
closeOrdersPanel: () => void
toggleWalletModal: () => void
}

export default function AccountDetails({
pendingTransactions,
confirmedTransactions,
ENSName,
openOptions,
closeOrdersPanel,
toggleWalletModal,
}: AccountDetailsProps) {
const { chainId, account, connector } = useActiveWeb3React()
const walletInfo = useWalletInfo()
Expand All @@ -175,7 +175,7 @@ export default function AccountDetails({
return (
<Wrapper>
<UpperSection>
<CloseIcon onClick={() => closeOrdersPanel}>
<CloseIcon onClick={toggleWalletModal}>
<CloseColor />
</CloseIcon>
<HeaderRow>Account</HeaderRow>
Expand Down
2 changes: 1 addition & 1 deletion src/custom/components/ordersPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function OrdersPanel({ ordersPanelOpen, closeOrdersPanel }: Order
pendingTransactions={pendingActivity}
confirmedTransactions={confirmedActivity}
openOptions={() => setWalletView(WALLET_VIEWS.OPTIONS)}
closeOrdersPanel={closeOrdersPanel}
toggleWalletModal={closeOrdersPanel}
/>
</Wrapper>
</SideBar>
Expand Down

0 comments on commit cb95c89

Please sign in to comment.