Skip to content

Commit

Permalink
fix: wrong import connext integration
Browse files Browse the repository at this point in the history
  • Loading branch information
0xChin committed Oct 25, 2023
1 parent 2a2093b commit b08b0ec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions integrations/connext/components/form-connext-xtransfer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import {
SelectValue,
} from "@/components/ui/select"
import { Switch } from "@/components/ui/switch"
import WalletConnectCustom from "@/components/blockchain/wallet-connect-custom"
import { IsWalletConnected } from "@/components/shared/is-wallet-connected"
import { IsWalletDisconnected } from "@/components/shared/is-wallet-disconnected"
import { WalletConnect } from "@/integrations/rainbow-kit/wallet-connect"

import { useApproveIfNeeded } from "../hooks/use-approve-if-needed"
import { useEstimatedAmount } from "../hooks/use-estimated-amount"
Expand Down Expand Up @@ -656,10 +656,7 @@ export function FormConnextXTransfer({
)}
<IsWalletConnected>{getButton()}</IsWalletConnected>
<IsWalletDisconnected>
<WalletConnectCustom
className="mt-5 w-full rounded bg-blue-600 p-4"
classNameConnect="w-full bg-blue-600 text-white"
/>
<WalletConnect className="mt-5 w-full rounded bg-blue-600 p-4" />
</IsWalletDisconnected>
</motion.div>
)
Expand Down

0 comments on commit b08b0ec

Please sign in to comment.