Skip to content

Commit

Permalink
fix: 0% arbitrator fee string
Browse files Browse the repository at this point in the history
  • Loading branch information
ps1dr3x committed Sep 28, 2023
1 parent e1692d6 commit e3284c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ui/internal/components/ArbitrationDataDisplayer.tsx
Expand Up @@ -15,7 +15,7 @@ export const ArbitrationDataDisplayer = ({ data }: Props) => {
return (
<DataDisplayer
label="Arbitrator Fee"
value={`${arbitration.arbitratorFee || "..."}%`}
value={`${arbitration.arbitratorFee || "0 "}%`}
marker={MARKER.arbitratorFee}
/>
);
Expand All @@ -36,7 +36,7 @@ export const ArbitrationDataDisplayer = ({ data }: Props) => {
{connectedUser === SELLER && (
<DataDisplayer
label="Arbitrator Fee"
value={`${arbitration.arbitratorFee || "..."}%`}
value={`${arbitration.arbitratorFee || "0 "}%`}
marker={MARKER.arbitratorFee}
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/ui/internal/modals/Pay.tsx
Expand Up @@ -173,7 +173,7 @@ export function PayModal(props: IPaymentModalProps) {
<DataDisplayer
label="Arbitrator Fee"
value={`${
props.paymentProps.arbitratorFee?.toString() || "... "
props.paymentProps.arbitratorFee?.toString() || "0 "
}%`}
marker={MARKER.arbitratorFee}
/>
Expand Down

0 comments on commit e3284c0

Please sign in to comment.