From 0a64033ad8c30d0ca44bbb1cfacfbcd2486bdd6d Mon Sep 17 00:00:00 2001 From: Mike Clark Date: Wed, 8 Nov 2023 22:36:18 +0000 Subject: [PATCH] fixing type --- packages/desktop-client/src/components/budget/SidebarGroup.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/desktop-client/src/components/budget/SidebarGroup.tsx b/packages/desktop-client/src/components/budget/SidebarGroup.tsx index e9586d5ebc4..41e6acefb29 100644 --- a/packages/desktop-client/src/components/budget/SidebarGroup.tsx +++ b/packages/desktop-client/src/components/budget/SidebarGroup.tsx @@ -1,4 +1,5 @@ import React, { type CSSProperties, useState } from 'react'; +import { type ConnectDragSource } from 'react-dnd'; import ExpandArrow from '../../icons/v0/ExpandArrow'; import CheveronDown from '../../icons/v1/CheveronDown'; @@ -24,7 +25,7 @@ type SidebarGroupProps = { editing?: boolean; collapsed: boolean; dragPreview?: () => void; - innerRef?: () => void; + innerRef?: ConnectDragSource; borderColor?: string; style?: CSSProperties; onEdit?: (id: string) => void;