Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rylorin committed Nov 10, 2023
1 parent 452d278 commit 6a3b4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Portfolio/Position/PositionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const PositionsTable: FunctionComponent<Props> = ({
result = a.contract.id;
break;
case ContractType.Option:
result = (a as OptionPositionEntry).underlying.id;
result = (a as OptionPositionEntry).underlying?.id;
break;
}
return result;
Expand Down

0 comments on commit 6a3b4fe

Please sign in to comment.