SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
feat(tanstack-text): add support for forwardRef (#11464)
Vinicius Lourenço0d035ef57dd8
diff --git a/frontend/src/components/TanStackTableView/TanStackTableText.tsx b/frontend/src/components/TanStackTableView/TanStackTableText.tsxindex 86fb750265..468419b5b9 100644--- a/frontend/src/components/TanStackTableView/TanStackTableText.tsx+++ b/frontend/src/components/TanStackTableView/TanStackTableText.tsx@@ -1,4 +1,4 @@-import type { HTMLAttributes, ReactNode } from 'react';+import { forwardRef, type HTMLAttributes, type ReactNode } from 'react';import cx from 'classnames';import tableStyles from './TanStackTable.module.scss';@@ -22,21 +22,19 @@ type WithDangerousHtml = BaseProps & {export type TanStackTableTextProps = WithChildren | WithDangerousHtml;-function TanStackTableText({- children,- className,- dangerouslySetInnerHTML,- ...rest-}: TanStackTableTextProps): JSX.Element {- return (+const TanStackTableText = forwardRef<HTMLSpanElement, TanStackTableTextProps>(+ ({ children, className, dangerouslySetInnerHTML, ...rest }, ref) => (<span+ ref={ref}className={cx(tableStyles.tableCellText, className)}dangerouslySetInnerHTML={dangerouslySetInnerHTML}{...rest}>{children}</span>- );-}+ ),+);++TanStackTableText.displayName = 'TanStackTableText';export default TanStackTableText;