diff --git a/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx b/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx index 8df7c89d8de0..c3e9cf02a39b 100644 --- a/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/statementDetails/statementDetails.tsx @@ -704,9 +704,9 @@ export class StatementDetails extends React.Component< const duration = (v: number) => Duration(v * 1e9); const [chartsStart, chartsEnd] = toRoundedDateRange(this.props.timeScale); const xScale = { - graphTsStartMillis: chartsStart.valueOf, - graphTsEndMillis: chartsEnd.valueOf, - } as unknown as XScale; + graphTsStartMillis: chartsStart.valueOf(), + graphTsEndMillis: chartsEnd.valueOf(), + } as XScale; return ( <>