diff --git a/packages/desktop-client/src/components/mobile/transactions/AddTransactionButton.tsx b/packages/desktop-client/src/components/mobile/transactions/AddTransactionButton.tsx index 69600dee0af..42cc10b21e9 100644 --- a/packages/desktop-client/src/components/mobile/transactions/AddTransactionButton.tsx +++ b/packages/desktop-client/src/components/mobile/transactions/AddTransactionButton.tsx @@ -1,4 +1,4 @@ -import React, { type ComponentPropsWithoutRef } from 'react'; +import React from 'react'; import { useNavigate } from '../../../hooks/useNavigate'; import { SvgAdd } from '../../../icons/v1'; @@ -6,7 +6,7 @@ import { theme } from '../../../style'; import { Link } from '../../common/Link'; type AddTransactionButtonProps = { - to: ComponentPropsWithoutRef['to']; + to: string; accountId?: string; categoryId?: string; };