diff --git a/src/features/Web3/components/Form/index.tsx b/src/features/Web3/components/Form/index.tsx index 4654f6f0..f5012896 100644 --- a/src/features/Web3/components/Form/index.tsx +++ b/src/features/Web3/components/Form/index.tsx @@ -5,7 +5,7 @@ import { ConnectButton } from '@rainbow-me/rainbowkit' import Alert from '../Alert/Alert' import { InputGroup } from '../Input' import styles from './index.module.css' -import { SendNative, SendErc20 } from '../Send' +import { SendPrepareNative, SendPrepareErc20 } from '../SendPrepare' import { useSend } from '../../hooks/useSend' import type { SendFormData } from './types' import { useTokens } from '@features/Web3/hooks/useTokens' @@ -51,12 +51,15 @@ export default function Web3Form(): ReactElement { ) : null} {selectedToken?.address === '0x0' ? ( - ) : ( - + )}
diff --git a/src/features/Web3/components/Send/SendErc20.tsx b/src/features/Web3/components/SendPrepare/SendErc20.tsx similarity index 96% rename from src/features/Web3/components/Send/SendErc20.tsx rename to src/features/Web3/components/SendPrepare/SendErc20.tsx index 58055e15..626fc780 100644 --- a/src/features/Web3/components/Send/SendErc20.tsx +++ b/src/features/Web3/components/SendPrepare/SendErc20.tsx @@ -5,7 +5,7 @@ import { abiErc20Transfer } from './abiErc20Transfer' import { useEffect } from 'react' import { useTokens } from '@features/Web3/hooks/useTokens' -export function SendErc20({ +export function SendPrepareErc20({ amount, setSendFormData }: { diff --git a/src/features/Web3/components/Send/SendNative.tsx b/src/features/Web3/components/SendPrepare/SendNative.tsx similarity index 95% rename from src/features/Web3/components/Send/SendNative.tsx rename to src/features/Web3/components/SendPrepare/SendNative.tsx index c2f5c881..f2ee7499 100644 --- a/src/features/Web3/components/Send/SendNative.tsx +++ b/src/features/Web3/components/SendPrepare/SendNative.tsx @@ -7,7 +7,7 @@ import { import siteConfig from '@config/blog.config' import { useEffect } from 'react' -export function SendNative({ +export function SendPrepareNative({ amount, setSendFormData }: { diff --git a/src/features/Web3/components/Send/abiErc20Transfer.ts b/src/features/Web3/components/SendPrepare/abiErc20Transfer.ts similarity index 100% rename from src/features/Web3/components/Send/abiErc20Transfer.ts rename to src/features/Web3/components/SendPrepare/abiErc20Transfer.ts diff --git a/src/features/Web3/components/Send/index.tsx b/src/features/Web3/components/SendPrepare/index.tsx similarity index 100% rename from src/features/Web3/components/Send/index.tsx rename to src/features/Web3/components/SendPrepare/index.tsx