diff --git a/components/ResultsPage/ResultsLoader.tsx b/components/ResultsPage/ResultsLoader.tsx index 5b5a292f..4b9b3e4e 100644 --- a/components/ResultsPage/ResultsLoader.tsx +++ b/components/ResultsPage/ResultsLoader.tsx @@ -119,7 +119,7 @@ function ResultsLoader({ (result) => result !== null && result !== undefined && - result.class.subject !== 'NULL' + result?.class?.subject !== 'NULL' ) .map((result) => { return (