Skip to content

Commit b5d5b5a

Browse files
fix: wrong redelegation tx type (#1063)
1 parent c5e3c5b commit b5d5b5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/namadillo/src/App/Staking/ReDelegate.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { getAmountDistribution } from "lib/staking";
2020
import { useEffect, useState } from "react";
2121
import { useNavigate } from "react-router-dom";
2222
import { twMerge } from "tailwind-merge";
23-
import { Validator } from "types";
23+
import { TxKind, Validator } from "types";
2424
import { BondingAmountOverview } from "./BondingAmountOverview";
2525
import { ReDelegateAssignStake } from "./ReDelegateAssignStake";
2626
import { ReDelegateRemoveStake } from "./ReDelegateRemoveStake";
@@ -52,7 +52,7 @@ export const ReDelegate = (): JSX.Element => {
5252
);
5353

5454
const gasConfig = useAtomValue(
55-
defaultGasConfigFamily(Array(changes.length).fill("Redelegate"))
55+
defaultGasConfigFamily(Array<TxKind>(changes.length).fill("Redelegation"))
5656
);
5757

5858
const {

0 commit comments

Comments
 (0)