Skip to content

Commit

Permalink
perf: perf ts style
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed May 11, 2020
1 parent f74b1ce commit b61683b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/back-to-top/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default class BackToTop extends PureComponent<BackToTopProps, BackToTopSt
});
};

scrollToTop = (e: MouseEvent<HTMLElement>): void => {
scrollToTop = (e): void => {
const { speed, onClick } = this.props;
const { container } = this;

Expand Down

0 comments on commit b61683b

Please sign in to comment.