From 8cc87f46f14f08ee927cd336793eaad5975bdb51 Mon Sep 17 00:00:00 2001 From: Josh Krebs Date: Fri, 8 Sep 2023 10:14:13 -0700 Subject: [PATCH] take out RenderMonths props --- .../desktop-client/src/components/budget/IncomeHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/desktop-client/src/components/budget/IncomeHeader.tsx b/packages/desktop-client/src/components/budget/IncomeHeader.tsx index da6130ba035..d8cec93eb4f 100644 --- a/packages/desktop-client/src/components/budget/IncomeHeader.tsx +++ b/packages/desktop-client/src/components/budget/IncomeHeader.tsx @@ -1,11 +1,11 @@ -import React, { type ComponentProps, type ReactNode } from 'react'; +import React, { type ReactNode } from 'react'; import Button from '../common/Button'; import View from '../common/View'; import RenderMonths from './RenderMonths'; -type IncomeHeaderProps = ComponentProps & { +type IncomeHeaderProps = { MonthComponent?: ReactNode; onShowNewGroup: () => void; };