Skip to content

Commit 002f534

Browse files
author
Nabi
committed
Addressed hold type and stale test fixture comments
1 parent 6e14395 commit 002f534

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/types/onyx/Transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ type Comment = {
6464
comment?: string;
6565

6666
/** Whether the transaction is on hold */
67-
hold?: string | null;
67+
hold?: string;
6868

6969
/** Collection of waypoints associated with the transaction */
7070
waypoints?: WaypointCollection;

tests/unit/TransactionTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1817,7 +1817,7 @@ describe('Transaction', () => {
18171817
owner: 123,
18181818
},
18191819
},
1820-
hold: null,
1820+
hold: undefined,
18211821
},
18221822
} as Transaction;
18231823

0 commit comments

Comments
 (0)