From e1e531a2a48cdacd3d8e8b6427e3f0410699ea3d Mon Sep 17 00:00:00 2001
From: Fabio Berger <me@fabioberger.com>
Date: Thu, 17 Jan 2019 20:59:39 +0100
Subject: Remove react-snap from dev-tools-pages since it was messing up links
 on rendering pages

---
 packages/dev-tools-pages/ts/components/code.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/dev-tools-pages/ts/components/code.tsx')

diff --git a/packages/dev-tools-pages/ts/components/code.tsx b/packages/dev-tools-pages/ts/components/code.tsx
index 461a91ba3..0f7d6a0cd 100644
--- a/packages/dev-tools-pages/ts/components/code.tsx
+++ b/packages/dev-tools-pages/ts/components/code.tsx
@@ -156,7 +156,7 @@ class Code extends React.Component<CodeProps, CodeState> {
                         <StyledCopyInput readOnly={true} aria-hidden="true" ref={this._code} value={children} />
                     ) : null}
                 </Base>
-                {navigator.userAgent !== 'ReactSnap' && canCopy ? (
+                {canCopy ? (
                     <Button onClick={this._handleCopyAsync.bind(this)}>{this.state.didCopy ? 'Copied' : 'Copy'}</Button>
                 ) : null}
             </Container>
-- 
cgit v1.2.3

