diff --git a/packages/desktop-client/src/components/reports/ChooseGraph.tsx b/packages/desktop-client/src/components/reports/ChooseGraph.tsx index ec9630c0f36..ad71b87a1eb 100644 --- a/packages/desktop-client/src/components/reports/ChooseGraph.tsx +++ b/packages/desktop-client/src/components/reports/ChooseGraph.tsx @@ -21,7 +21,7 @@ type ChooseGraphProps = { graphType: string; balanceType: string; groupBy: string; - empty: boolean; + showEmpty: boolean; scrollWidth: number; setScrollWidth: (value: number) => void; months: Month[]; @@ -32,7 +32,7 @@ export function ChooseGraph({ graphType, balanceType, groupBy, - empty, + showEmpty, scrollWidth, setScrollWidth, months, @@ -104,7 +104,7 @@ export function ChooseGraph({ > setEmpty(!empty)} + checked={showEmpty} + value={showEmpty} + onChange={() => setShowEmpty(!showEmpty)} />