Skip to content

Commit

Permalink
fix: wrong redelegation tx type (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszjasiuk authored Sep 4, 2024
1 parent c5e3c5b commit b5d5b5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/namadillo/src/App/Staking/ReDelegate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { getAmountDistribution } from "lib/staking";
import { useEffect, useState } from "react";
import { useNavigate } from "react-router-dom";
import { twMerge } from "tailwind-merge";
import { Validator } from "types";
import { TxKind, Validator } from "types";
import { BondingAmountOverview } from "./BondingAmountOverview";
import { ReDelegateAssignStake } from "./ReDelegateAssignStake";
import { ReDelegateRemoveStake } from "./ReDelegateRemoveStake";
Expand Down Expand Up @@ -52,7 +52,7 @@ export const ReDelegate = (): JSX.Element => {
);

const gasConfig = useAtomValue(
defaultGasConfigFamily(Array(changes.length).fill("Redelegate"))
defaultGasConfigFamily(Array<TxKind>(changes.length).fill("Redelegation"))
);

const {
Expand Down

1 comment on commit b5d5b5a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.