diff --git a/packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx b/packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx index a1d6e9af907..c49c445613a 100644 --- a/packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx +++ b/packages/desktop-client/src/components/reports/graphs/NetWorthGraph.tsx @@ -1,4 +1,4 @@ -import React, { ComponentProps, createElement } from 'react'; +import React, { createElement } from 'react'; import * as d from 'date-fns'; import { @@ -21,7 +21,7 @@ type NetWorthGraphProps = { style?: CSSProperties; graphData; compact: boolean; - domain: ComponentProps['domain']; + domain: y?: [number, number]; }; function NetWorthGraph({ style,