chore(balance): post-merge cleanup of #182-#185 reviews (#187) #195
1 changed files with 1 additions and 5 deletions
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Link } from "react-router-dom";
|
||||
import type { TFunction } from "i18next";
|
||||
import { Wallet, FileText, Check, ArrowRight } from "lucide-react";
|
||||
|
||||
interface BalanceOnboardingCardProps {
|
||||
|
|
@ -81,7 +80,6 @@ export default function BalanceOnboardingCard({
|
|||
description={t("balance.onboarding.step1.description")}
|
||||
ctaLabel={t("balance.onboarding.step1.cta")}
|
||||
ctaHref="/balance/accounts"
|
||||
t={t}
|
||||
/>
|
||||
<Step
|
||||
number={2}
|
||||
|
|
@ -92,7 +90,6 @@ export default function BalanceOnboardingCard({
|
|||
ctaLabel={t("balance.onboarding.step2.cta")}
|
||||
ctaHref="/balance/snapshot"
|
||||
disabledHint={t("balance.onboarding.step2.disabledHint")}
|
||||
t={t}
|
||||
/>
|
||||
</ol>
|
||||
</div>
|
||||
|
|
@ -112,7 +109,6 @@ interface StepProps {
|
|||
ctaLabel: string;
|
||||
ctaHref: string;
|
||||
disabledHint?: string;
|
||||
t: TFunction;
|
||||
}
|
||||
|
||||
function Step({
|
||||
|
|
@ -124,8 +120,8 @@ function Step({
|
|||
ctaLabel,
|
||||
ctaHref,
|
||||
disabledHint,
|
||||
t,
|
||||
}: StepProps) {
|
||||
const { t } = useTranslation();
|
||||
const isDone = state === "done";
|
||||
const isActive = state === "active";
|
||||
const isDisabled = state === "disabled";
|
||||
|
|
|
|||
Loading…
Reference in a new issue