File tree Expand file tree Collapse file tree
src/components/TransactionItemRow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ import TagCell from './DataCells/TagCell';
4444import TaxCell from './DataCells/TaxCell' ;
4545import TotalCell from './DataCells/TotalCell' ;
4646import TypeCell from './DataCells/TypeCell' ;
47- import TransactionItemRowRBR from './TransactionItemRowRBR' ;
4847import TransactionItemRowRBRWithOnyx from './TransactionItemRowRBRWithOnyx' ;
4948
5049type ColumnComponents = {
@@ -441,18 +440,10 @@ function TransactionItemRow({
441440 </ View >
442441 { columns ?. map ( ( column ) => columnComponent [ column ] ) }
443442 </ View >
444- { }
445- { isInReportTableView ? (
446- < TransactionItemRowRBRWithOnyx
447- transaction = { transactionItem }
448- missingFieldError = { missingFieldError }
449- />
450- ) : (
451- < TransactionItemRowRBR
452- transactionViolations = { transactionItem . violations }
453- missingFieldError = { missingFieldError }
454- /> // We are rendering this component only if we are not in the report table view for performance reasons
455- ) }
443+ < TransactionItemRowRBRWithOnyx
444+ transaction = { transactionItem }
445+ missingFieldError = { missingFieldError }
446+ />
456447 </ View >
457448 </ Animated . View >
458449 ) }
You can’t perform that action at this time.
0 commit comments