Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
fix(ui): allow undefined on ResultsFooter optional props (#189)
Raghav Chamadiya1a1654157121
diff --git a/packages/ui/src/shared/results-footer.tsx b/packages/ui/src/shared/results-footer.tsxindex 7a732eeb9..17f43eb49 100644--- a/packages/ui/src/shared/results-footer.tsx+++ b/packages/ui/src/shared/results-footer.tsx@@ -10,15 +10,15 @@ interface ResultsFooterProps {/** True when more pages are available. */hasMore: boolean;/** Disables the load-more button while the next page is in flight. */- loading?: boolean;+ loading?: boolean | undefined;/*** Called when the user requests more rows. The parent decides the page* size; this primitive only owns the affordance and the count surface.*/- onLoadMore?: () => void;+ onLoadMore?: (() => void) | undefined;/** Optional label tweak — defaults to "results". */- noun?: string;- className?: string;+ noun?: string | undefined;+ className?: string | undefined;}/**