diff --git a/src/app/history/page.tsx b/src/app/history/page.tsx index d564fad..5b26414 100644 --- a/src/app/history/page.tsx +++ b/src/app/history/page.tsx @@ -97,9 +97,13 @@ export default async function TradeHistoryPage({ searchParams }: PageProps) { : 'Account opened'} ) : isFundTrade ? ( - - {t.fund!.name} - + t.fund ? ( + + {t.fund.name} + + ) : ( + Deleted Fund + ) ) : ( ) : isFundTrade ? ( - - {t.fund!.name} - + t.fund ? ( + + {t.fund.name} + + ) : ( + Deleted Fund + ) ) : (