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

Moved claim state updater to claim page #2380

Merged
merged 1 commit into from
Feb 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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