diff --git a/components/examples/TRPCDemo.tsx b/components/examples/TRPCDemo.tsx index c47a260..1c4c48e 100644 --- a/components/examples/TRPCDemo.tsx +++ b/components/examples/TRPCDemo.tsx @@ -150,7 +150,7 @@ export function TRPCDemo() { ) : (
- {overview?.sentimentDistribution.map((item) => ( + {overview?.sentimentDistribution?.map((item) => (
) : (
- {sessions?.sessions.map((session) => ( + {sessions?.sessions?.map((session) => (