diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-20 08:36:51 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-20 08:36:51 +0800 |
commit | a1b7f0ad83477f575bb047048f77c3c9639b8b8e (patch) | |
tree | 02de301ccce127e6bb7707a6033e6ffdee14e9d9 | |
parent | 578a46c57f04bbae223fe0b6b79f6aaa28576a95 (diff) | |
download | dexon-sol-tools-a1b7f0ad83477f575bb047048f77c3c9639b8b8e.tar dexon-sol-tools-a1b7f0ad83477f575bb047048f77c3c9639b8b8e.tar.gz dexon-sol-tools-a1b7f0ad83477f575bb047048f77c3c9639b8b8e.tar.bz2 dexon-sol-tools-a1b7f0ad83477f575bb047048f77c3c9639b8b8e.tar.lz dexon-sol-tools-a1b7f0ad83477f575bb047048f77c3c9639b8b8e.tar.xz dexon-sol-tools-a1b7f0ad83477f575bb047048f77c3c9639b8b8e.tar.zst dexon-sol-tools-a1b7f0ad83477f575bb047048f77c3c9639b8b8e.zip |
Use anchor instead of Text
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_container.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx index 9d5fe7171..1de3bbbbb 100644 --- a/packages/instant/src/components/zero_ex_instant_container.tsx +++ b/packages/instant/src/components/zero_ex_instant_container.tsx @@ -25,13 +25,12 @@ export interface ZeroExInstantContainerState { tokenSelectionPanelAnimationState: SlideAnimationState; } +const PoweredByLogo = require('../assets/powered_by_0x.svg'); export class ZeroExInstantContainer extends React.Component<{}, ZeroExInstantContainerState> { public state = { tokenSelectionPanelAnimationState: 'none' as SlideAnimationState, }; public render(): React.ReactNode { - const PoweredByLogo = require('../assets/powered_by_0x.svg'); - return ( <React.Fragment> <CSSReset /> @@ -75,9 +74,9 @@ export class ZeroExInstantContainer extends React.Component<{}, ZeroExInstantCon marginRight="auto" width="140px" > - <Text href={ZERO_EX_SITE_URL}> + <a href={ZERO_EX_SITE_URL} target="_blank"> <PoweredByLogo /> - </Text> + </a> </Container> </Container> </React.Fragment> |