Skip to content

Commit

Permalink
🏷️ Make TS ignore the onClick prop for now
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Jun 26, 2020
1 parent a17673d commit 2db9cbf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function SkipBottomButton({ onClick }: SkipBottomButtonProps) {
<EuiSkipLink
size="s"
iconType="arrowDown"
// @ts-ignore
onClick={(event) => {
// prevent the anchor to reload the page on click
event.preventDefault();
Expand Down

0 comments on commit 2db9cbf

Please sign in to comment.