Skip to content

Commit 093eaf1

Browse files
authored
Merge pull request DeusData#839 from sahil-mangla/main
test(graph-ui): fix locale-dependent number-format assertion in GraphTab.test.ts
2 parents 37c00d1 + 00b2a0e commit 093eaf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎graph-ui/src/components/GraphTab.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface GraphTabProps {
3131

3232
export function formatGraphLimitNotice(data: GraphData | null): string | null {
3333
if (!data || data.total_nodes <= data.nodes.length) return null;
34-
return `Showing ${data.nodes.length.toLocaleString()} of ${data.total_nodes.toLocaleString()} nodes. Use filters to narrow.`;
34+
return `Showing ${data.nodes.length.toLocaleString("en-US")} of ${data.total_nodes.toLocaleString("en-US")} nodes. Use filters to narrow.`;
3535
}
3636

3737
export function GraphTab({ project }: GraphTabProps) {

0 commit comments

Comments
 (0)