feat(connected-and-connect-wallet): move to general
This commit is contained in:
parent
7f401b8690
commit
b29572d5aa
|
@ -4,7 +4,7 @@ import { XStack } from 'tamagui'
|
|||
import { useDispatch } from 'react-redux'
|
||||
import { useEffect } from 'react'
|
||||
|
||||
import { setIsWalletConnected } from '../../../redux/ValidatorOnboarding/Deposit/slice'
|
||||
import { setIsWalletConnected } from '../../redux/ValidatorOnboarding/Deposit/slice'
|
||||
|
||||
type ConnectWalletProps = {
|
||||
isConnectBtnJustifyEnd?: boolean
|
|
@ -4,7 +4,7 @@ import { useConnectWallet } from '@web3-onboard/react'
|
|||
import { useEffect, useState } from 'react'
|
||||
import { ethers } from 'ethers'
|
||||
|
||||
import { formatToFixed4, getFormattedWalletAddress } from '../../../utilities'
|
||||
import { formatToFixed4, getFormattedWalletAddress } from '../../utilities'
|
||||
|
||||
const ConnectedWallet = () => {
|
||||
const [{ wallet }] = useConnectWallet()
|
Loading…
Reference in New Issue