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 }) => (