From 858633fdc0cacf0ff3239fc8804aed0a419a1cb0 Mon Sep 17 00:00:00 2001 From: Shyam Guthikonda Date: Thu, 7 Sep 2023 16:15:06 -0700 Subject: [PATCH] tsc error fixes --- .../desktop-client/src/components/common/MenuButton.tsx | 6 +++++- .../desktop-client/src/components/settings/FixSplits.tsx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/desktop-client/src/components/common/MenuButton.tsx b/packages/desktop-client/src/components/common/MenuButton.tsx index 66d4b58ec23..a035d8bd9a9 100644 --- a/packages/desktop-client/src/components/common/MenuButton.tsx +++ b/packages/desktop-client/src/components/common/MenuButton.tsx @@ -4,7 +4,11 @@ import DotsHorizontalTriple from '../../icons/v1/DotsHorizontalTriple'; import Button from './Button'; -export default function MenuButton({ onClick }) { +type MenuButtonProps = { + onClick: () => void; +}; + +export default function MenuButton({ onClick }: MenuButtonProps) { return (