aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-12 05:42:30 +0800
committerFabio Berger <me@fabioberger.com>2018-06-12 05:42:30 +0800
commite1879ef4d91fc58203d9748eca38695b79c43674 (patch)
tree0a9a68927d5dc769b0c5cb2c5d9445849fb56e7c /packages/website/ts/pages
parentb6df727efb74084a849330273a44cfc5ae3a85af (diff)
downloaddexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.gz
dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.zst
dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.zip
Fix no-unused-variable tslint rule to include parameters and fix issues
Diffstat (limited to 'packages/website/ts/pages')
-rw-r--r--packages/website/ts/pages/not_found.tsx2
-rw-r--r--packages/website/ts/pages/wiki/wiki.tsx4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/pages/not_found.tsx b/packages/website/ts/pages/not_found.tsx
index a94ba5863..2fe3b1f45 100644
--- a/packages/website/ts/pages/not_found.tsx
+++ b/packages/website/ts/pages/not_found.tsx
@@ -11,7 +11,7 @@ export interface NotFoundProps {
dispatcher: Dispatcher;
}
-export const NotFound = (props: NotFoundProps) => {
+export const NotFound = (_props: NotFoundProps) => {
return (
<div>
<TopBar blockchainIsLoaded={false} location={this.props.location} translate={this.props.translate} />
diff --git a/packages/website/ts/pages/wiki/wiki.tsx b/packages/website/ts/pages/wiki/wiki.tsx
index bdefe0fda..9659900be 100644
--- a/packages/website/ts/pages/wiki/wiki.tsx
+++ b/packages/website/ts/pages/wiki/wiki.tsx
@@ -233,7 +233,7 @@ export class Wiki extends React.Component<WikiProps, WikiState> {
}
return menuSubsectionsBySection;
}
- private _onSidebarHover(event: React.FormEvent<HTMLInputElement>): void {
+ private _onSidebarHover(_event: React.FormEvent<HTMLInputElement>): void {
this.setState({
isHoveringSidebar: true,
});
@@ -243,7 +243,7 @@ export class Wiki extends React.Component<WikiProps, WikiState> {
isHoveringSidebar: false,
});
}
- private _onHashChanged(event: any): void {
+ private _onHashChanged(_event: any): void {
const hash = window.location.hash.slice(1);
sharedUtils.scrollToHash(hash, sharedConstants.SCROLL_CONTAINER_ID);
}