diff --git a/libs/oeth/history/src/components/APYContainer.tsx b/libs/oeth/history/src/components/APYContainer.tsx index aa2eb355c..8e8b3655c 100644 --- a/libs/oeth/history/src/components/APYContainer.tsx +++ b/libs/oeth/history/src/components/APYContainer.tsx @@ -58,7 +58,7 @@ export function APYContainer() { defaultMessage: 'Lifetime Earnings (OETH)', })} value={intl.formatNumber( - +formatEther(BigInt(data.earned ?? '0')), + +formatEther(BigInt(data?.earned ?? '0')), balanceFormat, )} isLoading={isConnected && isLoading}