This commit is contained in:
koalasat
2025-05-09 17:21:55 +02:00
parent a9da485210
commit 142a6d89a2
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ const MakerPage = (): React.JSX.Element => {
mode: fav.mode,
coordinator: 'robosats',
},
premium: Number(maker.premium ?? null),
premium: maker.premium ?? null,
paymentMethods: maker.paymentMethods,
amountFilter: {
amount: maker.amount,

View File

@ -8,7 +8,7 @@ export interface Maker {
paymentMethods: string[];
paymentMethodsText: string;
badPaymentMethod: boolean;
premium: number | string;
premium: number | null;
satoshis: string;
publicExpiryTime: Date;
publicDuration: number;
@ -34,7 +34,7 @@ export const defaultMaker: Maker = {
paymentMethods: [],
paymentMethodsText: 'not specified',
badPaymentMethod: false,
premium: '',
premium: null,
satoshis: '',
publicExpiryTime: new Date(0, 0, 0, 23, 59),
publicDuration: 86340,