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

Commit

Permalink
Moved claim state updater to claim page (#2380)
Browse files Browse the repository at this point in the history
Co-authored-by: Leandro <leandro.boscariol@gnosis.io>
  • Loading branch information
alfetopito and Leandro authored Feb 3, 2022
1 parent e8b8fe8 commit e7feb5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/custom/pages/Claim/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { useWalletModalToggle } from 'state/application/hooks'
import { getFreeClaims, hasPaidClaim, hasFreeClaim, prepareInvestClaims } from 'state/claim/hooks/utils'
import { useClaimDispatchers, useClaimState } from 'state/claim/hooks'
import { ClaimStatus } from 'state/claim/actions'
import ClaimsOnOtherChainsUpdater from 'state/claim/updater'

import { OperationType } from 'components/TransactionConfirmationModal'
import Confetti from 'components/Confetti'
Expand Down Expand Up @@ -231,6 +232,8 @@ export default function Claim() {

return (
<PageWrapper>
{/* State Updater */}
<ClaimsOnOtherChainsUpdater />
{/* Cross chain claim banner */}
<ClaimsOnOtherChainsBanner />
{/* Claiming content */}
Expand Down
2 changes: 0 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import {
PendingOrdersUpdater,
UnfillableOrdersUpdater,
} from 'state/orders/updaters'
import ClaimsOnOtherChainsUpdater from 'state/claim/updater'
// import { EventUpdater } from 'state/orders/mocks'
import ThemeProvider, { FixedGlobalStyle, ThemedGlobalStyle } from 'theme'
import getLibrary from 'utils/getLibrary'
Expand Down Expand Up @@ -63,7 +62,6 @@ function Updaters() {
<GpOrdersUpdater />
<GasUpdater />
<LogsUpdater />
<ClaimsOnOtherChainsUpdater />
</>
)
}
Expand Down

0 comments on commit e7feb5d

Please sign in to comment.