From d2cf1cbd0e2f36a6733a599df21d4e91d73302d7 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Wed, 26 Apr 2017 17:59:16 +0200 Subject: [PATCH] Fix shell links --- js/src/ui/DappLink/dappLink.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/src/ui/DappLink/dappLink.js b/js/src/ui/DappLink/dappLink.js index d8b458e51..ba74b3e67 100644 --- a/js/src/ui/DappLink/dappLink.js +++ b/js/src/ui/DappLink/dappLink.js @@ -41,8 +41,6 @@ export default class DappLink extends Component { } onClick = () => { - const { to } = this.props; - - window.parent.location.hash = `/app${to}`; + window.parent.location.hash = this.props.to; } }