File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compose/neurosynth-frontend/src/pages/Projects/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ const ProjectsPageCard: React.FC<INeurosynthProjectReturn> = (props) => {
5858 } , [ created_at ] ) ;
5959
6060 const curationSummary = useMemo ( ( ) => {
61- if ( provenance . curationMetadata . columns . length === 0 ) return ;
61+ if ( ! provenance ?. curationMetadata ?. columns || provenance . curationMetadata . columns . length === 0 ) return ;
6262
63- return getCurationSummary ( provenance . curationMetadata . columns ) ;
64- } , [ provenance . curationMetadata . columns ] ) ;
63+ return getCurationSummary ( provenance ? .curationMetadata ? .columns ) ;
64+ } , [ provenance ? .curationMetadata ? .columns ] ) ;
6565
6666 const extractionSummary = useMemo ( ( ) => {
6767 if ( ! provenance . extractionMetadata . studysetId ) return ;
You can’t perform that action at this time.
0 commit comments