Skip to content

Commit

Permalink
Revert "adding blocked addresses list"
Browse files Browse the repository at this point in the history
  • Loading branch information
mstfash authored Aug 12, 2022
1 parent bb86c23 commit 2b33059
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 84 deletions.
29 changes: 0 additions & 29 deletions src/components/BlockedAddress.tsx

This file was deleted.

9 changes: 1 addition & 8 deletions src/containers/Shared.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ import DistributionsModal from '../components/Modals/DistributionsModal'
import { ChainId } from '../utils/interfaces'
import { ethers } from 'ethers'
import MulticallUpdater from '../services/MulticallUpdater'
import BlockedAddress from 'src/components/BlockedAddress'
import { blockedAddresses } from 'src/utils/blockedAddresses'

interface Props {
children: ReactNode
Expand Down Expand Up @@ -230,12 +228,7 @@ const Shared = ({ children, ...rest }: Props) => {
<AlertLabel type="danger" text={t('shutdown_text')} />
</AlertContainer>
) : null}
{account && blockedAddresses.includes(account.toLowerCase()) ? (
<BlockedAddress />
) : (
<Content>{children}</Content>
)}

<Content>{children}</Content>
<EmptyDiv>
<CookieBanner />
</EmptyDiv>
Expand Down
47 changes: 0 additions & 47 deletions src/utils/blockedAddresses.ts

This file was deleted.

0 comments on commit 2b33059

Please sign in to comment.