Skip to content

Commit

Permalink
refactor(backoffice-v2): improved value naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy committed Feb 18, 2024
1 parent 6b33427 commit c108470
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,24 @@ export const columns = [
}),
columnHelper.accessor('counterpartyOriginatorName', {
cell: info => {
const counterPartyName = info.getValue();
const counterpartyOriginatorName = info.getValue();

return (
<TextWithNAFallback className="text-sm font-semibold">
{counterPartyName}
{counterpartyOriginatorName}
</TextWithNAFallback>
);
},
header: 'Counterparty Name',
}),
columnHelper.accessor('counterpartyOriginatorId', {
cell: info => {
const counterPartyId = info.getValue();
const counterpartyOriginatorId = info.getValue();

return (
<TextWithNAFallback className="text-sm font-semibold">{counterPartyId}</TextWithNAFallback>
<TextWithNAFallback className="text-sm font-semibold">
{counterpartyOriginatorId}
</TextWithNAFallback>
);
},
header: 'Counterparty ID',
Expand Down

0 comments on commit c108470

Please sign in to comment.