Skip to content

Commit 6c6bbff

Browse files
Merge branch 'STAGING' of https://github.com/neo4j-labs/llm-graph-builder into STAGING
2 parents 818bb06 + 855a4c9 commit 6c6bbff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/Graph/LegendsChip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Legend from '../UI/Legend';
55
export const LegendsChip: React.FunctionComponent<LegendChipProps> = ({ scheme, title, nodes }) => {
66
const chunkcount = useMemo(
77
() => [...new Set(nodes?.filter((n) => n?.labels?.includes(title)).map((i) => i.id))].length,
8-
[]
8+
[nodes]
99
);
1010

1111
return <Legend title={title} chunkCount={chunkcount} bgColor={scheme[title]}></Legend>;

0 commit comments

Comments
 (0)