aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-02 17:30:44 +0800
committerFabio Berger <me@fabioberger.com>2018-10-02 17:30:44 +0800
commit91afc37d2a9fd15dc34d3c0911fb19ec7dd3493b (patch)
tree6374d6d2a6186137772c46430f9409e507b37738 /packages/website/ts
parentb79e3eaec62e073d86fdd5b83e7516da81046951 (diff)
downloaddexon-sol-tools-91afc37d2a9fd15dc34d3c0911fb19ec7dd3493b.tar
dexon-sol-tools-91afc37d2a9fd15dc34d3c0911fb19ec7dd3493b.tar.gz
dexon-sol-tools-91afc37d2a9fd15dc34d3c0911fb19ec7dd3493b.tar.bz2
dexon-sol-tools-91afc37d2a9fd15dc34d3c0911fb19ec7dd3493b.tar.lz
dexon-sol-tools-91afc37d2a9fd15dc34d3c0911fb19ec7dd3493b.tar.xz
dexon-sol-tools-91afc37d2a9fd15dc34d3c0911fb19ec7dd3493b.tar.zst
dexon-sol-tools-91afc37d2a9fd15dc34d3c0911fb19ec7dd3493b.zip
Fix hovering
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/pages/documentation/home.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/pages/documentation/home.tsx b/packages/website/ts/pages/documentation/home.tsx
index 57de52de2..6bb30b368 100644
--- a/packages/website/ts/pages/documentation/home.tsx
+++ b/packages/website/ts/pages/documentation/home.tsx
@@ -512,12 +512,12 @@ export class Home extends React.Component<HomeProps, HomeState> {
</Text>
);
}
- private _onSidebarHover(_event: React.FormEvent<HTMLInputElement>, isHovering: boolean): void {
+ private _onSidebarHover(isHovering: boolean, _event: React.FormEvent<HTMLInputElement>): void {
this.setState({
isHoveringSidebar: isHovering,
});
}
- private _onMainContentHover(_event: React.FormEvent<HTMLInputElement>, isHovering: boolean): void {
+ private _onMainContentHover(isHovering: boolean, _event: React.FormEvent<HTMLInputElement>): void {
if (isHovering !== this.state.isHoveringMainContent) {
this.setState({
isHoveringMainContent: isHovering,