feat(connected-and-connect-wallet): move to general

This commit is contained in:
RadoslavDimchev 2024-02-23 08:35:04 +02:00 committed by Emil Ivanichkov
parent 7f401b8690
commit b29572d5aa
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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()