diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-20 23:39:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-20 23:39:32 +0800 |
commit | 07de3a1d94e360cada1c5fc5754014e596865b55 (patch) | |
tree | 676846379018b447b301aaef13ca09e77c7368db /packages/website/ts/components | |
parent | 27880a6059f282cdee833523a6144bcafa8c266b (diff) | |
download | dexon-sol-tools-07de3a1d94e360cada1c5fc5754014e596865b55.tar dexon-sol-tools-07de3a1d94e360cada1c5fc5754014e596865b55.tar.gz dexon-sol-tools-07de3a1d94e360cada1c5fc5754014e596865b55.tar.bz2 dexon-sol-tools-07de3a1d94e360cada1c5fc5754014e596865b55.tar.lz dexon-sol-tools-07de3a1d94e360cada1c5fc5754014e596865b55.tar.xz dexon-sol-tools-07de3a1d94e360cada1c5fc5754014e596865b55.tar.zst dexon-sol-tools-07de3a1d94e360cada1c5fc5754014e596865b55.zip |
Pass actual iconUrl and add default icon image
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r-- | packages/website/ts/components/sidebar_header.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/sidebar_header.tsx b/packages/website/ts/components/sidebar_header.tsx index 51e8a59d5..a0ea869fb 100644 --- a/packages/website/ts/components/sidebar_header.tsx +++ b/packages/website/ts/components/sidebar_header.tsx @@ -26,7 +26,7 @@ export class SidebarHeader extends React.Component<SidebarHeaderProps, SidebarHe </div> <div className="flex"> <div> - <img src={`/images/doc_icons/${this.props.iconUrl}`} width="22" /> + <img src={this.props.iconUrl} width="22" /> </div> <div className="pl1" style={{ fontWeight: 600, fontSize: 20, lineHeight: 1.2 }}> {this.props.title} |