Skip to content

Commit 61e06e9

Browse files
committed
fix: remove svg and update to icon
1 parent 2562b37 commit 61e06e9

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

apps/namadillo/src/App/Transfer/ShieldedTransferCard.tsx

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ import { useEffect, useState } from "react";
77
import { GoChevronDown } from "react-icons/go";
88
import { AddressWithAssetAndAmount } from "types";
99
import NamadaLogo from "../Assets/NamadaLogo.svg";
10-
import { SelectToken } from "./SelectToken";
1110
import { isTransparentAddress } from "./common";
11+
import { SelectToken } from "./SelectToken";
12+
import { TransferArrow } from "./TransferArrow";
1213

1314
export const ShieldTransferCard = (): JSX.Element => {
1415
const transparentAssets = useAtomValue(namadaTransparentAssetsAtom);
@@ -163,23 +164,14 @@ export const ShieldTransferCard = (): JSX.Element => {
163164
{/* Transfer arrow */}
164165
<div className="flex justify-center my-4">
165166
<div
166-
className={`w-12 h-12 rounded-full flex items-center justify-center ${
167-
selectedMode === "shielded" ? "bg-yellow-400" : "bg-white"
168-
}`}
167+
className={`w-12 h-12 rounded-full flex items-center justify-center -mt-7 bg-yellow-400`}
169168
>
170-
<svg
171-
className="w-6 h-6 text-black"
172-
fill="none"
173-
viewBox="0 0 24 24"
174-
stroke="currentColor"
175-
>
176-
<path
177-
strokeLinecap="round"
178-
strokeLinejoin="round"
179-
strokeWidth={2}
180-
d="M19 14l-7 7m0 0l-7-7m7 7V3"
169+
<i className="flex items-center justify-center w-11 mx-auto -my-8 relative z-10">
170+
<TransferArrow
171+
color="#FF0"
172+
// isAnimating={isSubmitting}
181173
/>
182-
</svg>
174+
</i>
183175
</div>
184176
</div>
185177

0 commit comments

Comments
 (0)