From 02f83c58f56776e3d26f2c1021e025e5b28e7e3e Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 4 Jul 2020 13:31:00 -0700 Subject: [PATCH] Fix unhappy typescript --- resources/scripts/components/elements/Button.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/scripts/components/elements/Button.tsx b/resources/scripts/components/elements/Button.tsx index 6b70d315c..787bb877b 100644 --- a/resources/scripts/components/elements/Button.tsx +++ b/resources/scripts/components/elements/Button.tsx @@ -74,8 +74,7 @@ const StyledButton = styled.button>` &:disabled { opacity: 0.55; cursor: default } `; -type ComponentProps = Props & - Omit, HTMLButtonElement>, keyof Props>; +type ComponentProps = Omit & Props; const Button: React.FC = ({ children, isLoading, ...props }) => (