File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const List: FunctionComponent<Props> = ({ {{{name}}} }) => (
20
20
</ tr >
21
21
</ thead >
22
22
< tbody >
23
- { { { { name} } } && { { { name} } } . length && { { { name} } } . map ( { { { lc} } } => (
23
+ { { { { name} } } && ( { { { name} } } . length !== 0 ) && { { { name} } } . map ( { { { lc} } } => (
24
24
< ListItem key = { { { { lc} } } [ '@id' ] } { { { lc} } } = { { { { lc} } } } / >
25
25
) ) }
26
26
</tbody >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ interface Props {
9
9
}
10
10
11
11
const Page : NextComponentType < NextPageContext , Props , Props > = ( { collection} ) => (
12
- < List { { { name} } } = { collection[ '{{{hydraPrefix}}}member' ] || [ ] } />
12
+ < List { { { name} } } = { collection[ '{{{hydraPrefix}}}member' ] } />
13
13
) ;
14
14
15
15
Page . getInitialProps = async ( ) => {
You can’t perform that action at this time.
0 commit comments