Skip to content

Commit

Permalink
Minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rylorin committed Jul 6, 2024
1 parent 7403f29 commit d0c4a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Portfolio/Statement/BaseStatement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const BaseStatement = ({ portfolioId, statement }: Props): React.ReactNode => {
{statement.fxRateToBase}
</Text>
</Flex>
{"underlying" in statement && (
{"underlying" in statement && statement.underlying && (
<Flex justifyContent="center" gap="2">
<Text w="110px" as="b" textAlign="right">
Underlying:
Expand Down

0 comments on commit d0c4a8b

Please sign in to comment.