Skip to content

Commit

Permalink
Fix msg field for commission
Browse files Browse the repository at this point in the history
  • Loading branch information
abefernan committed Jul 31, 2024
1 parent 31c6fd6 commit c230ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/forms/CreateTxForm/Fields/FieldCommission.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { prettyFieldName } from "@/lib/form";
import * as z from "zod";
import type { FieldProps } from "./types";

const isFieldCommission = (fieldName: string) => fieldName === "inputs" || fieldName === "outputs";
const isFieldCommission = (fieldName: string) => fieldName === "commission";

export const getFieldCommission = (fieldName: string) =>
isFieldCommission(fieldName) ? FieldCommission : null;
Expand Down

0 comments on commit c230ec9

Please sign in to comment.