Skip to content

Commit

Permalink
Rename from type to actionType
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Nov 4, 2024
1 parent f3f18be commit 3fbfbef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function WalletInteractionModal({
}: {
step: WalletInteractionStep
}) {
const type = useActionFlowType()
const actionType = useActionFlowType()
const connector = useConnector()
const { header, description, progressProps } = DATA[step]

Expand Down Expand Up @@ -77,7 +77,7 @@ export default function WalletInteractionModal({
</HStack>
<TextMd>
{description(
type === ACTION_FLOW_TYPES.STAKE ? "deposit" : "withdraw",
actionType === ACTION_FLOW_TYPES.STAKE ? "deposit" : "withdraw",
)}
</TextMd>
{step === "awaiting-transaction" && (
Expand Down

0 comments on commit 3fbfbef

Please sign in to comment.