diff options
Diffstat (limited to 'packages/website/ts')
-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); |