-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove old code from ClaimNamePage
- Loading branch information
1 parent
76a05dd
commit a604fd2
Showing
7 changed files
with
16 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,4 +125,4 @@ | |
"@walletconnect/core": "2.9.2", | ||
"@walletconnect/keyvaluestorage": "1.0.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 3 additions & 14 deletions
17
webapp/src/components/NamesPage/ClaimNamePage/ClaimNamePage.types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,23 @@ | ||
import { Dispatch } from 'redux' | ||
import { CallHistoryMethodAction } from 'connected-react-router' | ||
import { Wallet } from 'decentraland-dapps/dist/modules/wallet/types' | ||
import { AuthIdentity } from 'decentraland-crypto-fetch' | ||
import { | ||
OpenModalAction, | ||
openModal | ||
} from 'decentraland-dapps/dist/modules/modal/actions' | ||
import { BrowseOptions } from '../../../modules/routing/types' | ||
import { | ||
ClaimNameTransactionSubmittedAction, | ||
claimNameTransactionSubmitted | ||
} from '../../../modules/ens/actions' | ||
|
||
export type Props = { | ||
wallet: Wallet | null | ||
isConnecting: boolean | ||
identity: AuthIdentity | undefined | ||
onClaimTxSubmitted: typeof claimNameTransactionSubmitted | ||
onBrowse: (options?: BrowseOptions) => void | ||
onClaim: typeof openModal | ||
onRedirect: (path: string) => void | ||
} | ||
|
||
export type MapStateProps = Pick<Props, 'wallet' | 'isConnecting' | 'identity'> | ||
export type MapStateProps = Pick<Props, 'wallet' | 'isConnecting'> | ||
export type MapDispatchProps = Pick< | ||
Props, | ||
'onBrowse' | 'onClaim' | 'onRedirect' | 'onClaimTxSubmitted' | ||
> | ||
export type MapDispatch = Dispatch< | ||
| CallHistoryMethodAction | ||
| OpenModalAction | ||
| ClaimNameTransactionSubmittedAction | ||
'onBrowse' | 'onClaim' | 'onRedirect' | ||
> | ||
export type MapDispatch = Dispatch<CallHistoryMethodAction | OpenModalAction> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters