aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-20 08:36:51 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-20 08:36:51 +0800
commita1b7f0ad83477f575bb047048f77c3c9639b8b8e (patch)
tree02de301ccce127e6bb7707a6033e6ffdee14e9d9 /packages
parent578a46c57f04bbae223fe0b6b79f6aaa28576a95 (diff)
downloaddexon-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
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/src/components/zero_ex_instant_container.tsx7
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>