mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-21 18:23:34 +00:00
Review
This commit is contained in:
@ -37,7 +37,7 @@ const MakerPage = (): React.JSX.Element => {
|
|||||||
mode: fav.mode,
|
mode: fav.mode,
|
||||||
coordinator: 'robosats',
|
coordinator: 'robosats',
|
||||||
},
|
},
|
||||||
premium: Number(maker.premium ?? null),
|
premium: maker.premium ?? null,
|
||||||
paymentMethods: maker.paymentMethods,
|
paymentMethods: maker.paymentMethods,
|
||||||
amountFilter: {
|
amountFilter: {
|
||||||
amount: maker.amount,
|
amount: maker.amount,
|
||||||
|
@ -8,7 +8,7 @@ export interface Maker {
|
|||||||
paymentMethods: string[];
|
paymentMethods: string[];
|
||||||
paymentMethodsText: string;
|
paymentMethodsText: string;
|
||||||
badPaymentMethod: boolean;
|
badPaymentMethod: boolean;
|
||||||
premium: number | string;
|
premium: number | null;
|
||||||
satoshis: string;
|
satoshis: string;
|
||||||
publicExpiryTime: Date;
|
publicExpiryTime: Date;
|
||||||
publicDuration: number;
|
publicDuration: number;
|
||||||
@ -34,7 +34,7 @@ export const defaultMaker: Maker = {
|
|||||||
paymentMethods: [],
|
paymentMethods: [],
|
||||||
paymentMethodsText: 'not specified',
|
paymentMethodsText: 'not specified',
|
||||||
badPaymentMethod: false,
|
badPaymentMethod: false,
|
||||||
premium: '',
|
premium: null,
|
||||||
satoshis: '',
|
satoshis: '',
|
||||||
publicExpiryTime: new Date(0, 0, 0, 23, 59),
|
publicExpiryTime: new Date(0, 0, 0, 23, 59),
|
||||||
publicDuration: 86340,
|
publicDuration: 86340,
|
||||||
|
Reference in New Issue
Block a user