diff options
author | Fabio Berger <me@fabioberger.com> | 2018-02-22 03:54:03 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-02-22 03:54:03 +0800 |
commit | ef6f52e722ffb07ecf6d0da79f9194c4cf0d14d1 (patch) | |
tree | ad1da663b593a0df290b5c7d6831251da98eabf9 /packages/website/ts/components | |
parent | 7d8cad8e3a3600aeb1217697546635b04ba83ed0 (diff) | |
download | dexon-sol-tools-ef6f52e722ffb07ecf6d0da79f9194c4cf0d14d1.tar dexon-sol-tools-ef6f52e722ffb07ecf6d0da79f9194c4cf0d14d1.tar.gz dexon-sol-tools-ef6f52e722ffb07ecf6d0da79f9194c4cf0d14d1.tar.bz2 dexon-sol-tools-ef6f52e722ffb07ecf6d0da79f9194c4cf0d14d1.tar.lz dexon-sol-tools-ef6f52e722ffb07ecf6d0da79f9194c4cf0d14d1.tar.xz dexon-sol-tools-ef6f52e722ffb07ecf6d0da79f9194c4cf0d14d1.tar.zst dexon-sol-tools-ef6f52e722ffb07ecf6d0da79f9194c4cf0d14d1.zip |
Remove extenuous defaultProps
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/footer.tsx | 3 | ||||
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar.tsx | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/packages/website/ts/components/footer.tsx b/packages/website/ts/components/footer.tsx index 1b6fabf2b..de20d074d 100644 --- a/packages/website/ts/components/footer.tsx +++ b/packages/website/ts/components/footer.tsx @@ -44,9 +44,6 @@ interface FooterState { } export class Footer extends React.Component<FooterProps, FooterState> { - public static defaultProps: Partial<FooterProps> = { - translate: new Translate(), - }; constructor(props: FooterProps) { super(); this.state = { diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index 14b10a8bb..2723c2218 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -81,7 +81,6 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> { shouldFullWidth: false, style: {}, isNightVersion: false, - translate: new Translate(), }; constructor(props: TopBarProps) { super(props); |