From 34b318754ff890a2873d3072fecae4c63b2d0303 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Thu, 3 Oct 2019 13:36:35 -0400 Subject: [PATCH] moar cleanup --- src/ui/component/common/help-link.jsx | 13 +++++++++++++ src/ui/component/userEmailNew/view.jsx | 2 +- src/ui/component/walletBalance/view.jsx | 24 +++++------------------- src/ui/page/channel/view.jsx | 2 ++ src/ui/page/file/view.jsx | 2 ++ src/ui/page/settings/view.jsx | 15 +++++++++++++-- src/ui/redux/actions/app.js | 4 ++++ src/ui/scss/component/_icon.scss | 8 ++++++++ static/app-strings.json | 6 +++++- 9 files changed, 53 insertions(+), 23 deletions(-) create mode 100644 src/ui/component/common/help-link.jsx diff --git a/src/ui/component/common/help-link.jsx b/src/ui/component/common/help-link.jsx new file mode 100644 index 000000000..867288f1e --- /dev/null +++ b/src/ui/component/common/help-link.jsx @@ -0,0 +1,13 @@ +// @flow +import * as ICONS from 'constants/icons'; +import React from 'react'; +import Button from 'component/button'; + +type Props = { + href: string, +}; + +export default function HelpLink(props: Props) { + const { href } = props; + return