Skip to content

Commit

Permalink
fix(button): fix eslint disable
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinWijnant committed Aug 17, 2020
1 parent fb01c09 commit 3991235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ const Button: React.FC<Props> = ({
});

return (
// eslint-disable-next-line react/button-has-type
<button
disabled={isDisabled || isLoading}
className={buttonClassNames}
// eslint-disable-next-line react/button-has-type
type={htmlType}
onClick={isLoading || suffixIcon ? undefined : onClick}
name={name}
Expand Down

0 comments on commit 3991235

Please sign in to comment.