Skip to content

Commit d09b7f8

Browse files
committed
lint fix
1 parent 2333f42 commit d09b7f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/apps/wallet-admin/src/home/tabs/payments/PaymentsTab.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
7878
totalPages: 0,
7979
})
8080
const [editState, setEditState] = React.useState<{
81-
description?: string;
8281
grossAmount?: number;
82+
description?: string;
8383
releaseDate?: Date;
8484
paymentStatus?: string;
8585
auditNote?: string;
@@ -206,8 +206,8 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
206206
const currentEditState = editStateRef.current
207207
// Send to server only the fields that have changed
208208
const updateObj = {
209-
description: currentEditState.description !== undefined ? currentEditState.description : undefined,
210209
auditNote: currentEditState.auditNote !== undefined ? currentEditState.auditNote : undefined,
210+
description: currentEditState.description !== undefined ? currentEditState.description : undefined,
211211
grossAmount: currentEditState.grossAmount !== undefined ? currentEditState.grossAmount : undefined,
212212
paymentStatus: currentEditState.paymentStatus !== undefined ? currentEditState.paymentStatus : undefined,
213213
releaseDate: currentEditState.releaseDate !== undefined ? currentEditState.releaseDate : undefined,
@@ -225,8 +225,8 @@ const ListView: FC<ListViewProps> = (props: ListViewProps) => {
225225
}
226226

227227
const updates: {
228-
description?: string
229228
auditNote?: string
229+
description?: string
230230
paymentStatus?: 'ON_HOLD_ADMIN' | 'OWED' | 'CANCELLED'
231231
releaseDate?: string
232232
paymentAmount?: number

0 commit comments

Comments
 (0)