diff options
author | Fabio Berger <me@fabioberger.com> | 2018-02-22 03:49:54 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-02-22 03:49:54 +0800 |
commit | 15507d3827a60c13bdf16efe497d8998f6053f5f (patch) | |
tree | c97935946cfcdc7458ad5130e8bec3c0639530e5 /packages/website/ts/components/top_bar/top_bar.tsx | |
parent | e2d17d122e25feeabb1d5499065274ec6e30bd4f (diff) | |
download | dexon-sol-tools-15507d3827a60c13bdf16efe497d8998f6053f5f.tar dexon-sol-tools-15507d3827a60c13bdf16efe497d8998f6053f5f.tar.gz dexon-sol-tools-15507d3827a60c13bdf16efe497d8998f6053f5f.tar.bz2 dexon-sol-tools-15507d3827a60c13bdf16efe497d8998f6053f5f.tar.lz dexon-sol-tools-15507d3827a60c13bdf16efe497d8998f6053f5f.tar.xz dexon-sol-tools-15507d3827a60c13bdf16efe497d8998f6053f5f.tar.zst dexon-sol-tools-15507d3827a60c13bdf16efe497d8998f6053f5f.zip |
Make translate a required prop of TopBar
Diffstat (limited to 'packages/website/ts/components/top_bar/top_bar.tsx')
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index 43e92bb9b..14b10a8bb 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -29,6 +29,7 @@ interface TopBarProps { dispatcher?: Dispatcher; blockchainIsLoaded: boolean; location: Location; + translate: Translate; docsVersion?: string; availableDocVersions?: string[]; menu?: DocsMenu; @@ -37,7 +38,6 @@ interface TopBarProps { docsInfo?: DocsInfo; style?: React.CSSProperties; isNightVersion?: boolean; - translate?: Translate; } interface TopBarState { |