From caf8457b9902c55e5350fde5fc5eb6dd80387b17 Mon Sep 17 00:00:00 2001 From: mmilenkovic Date: Fri, 30 Apr 2021 15:58:09 +0200 Subject: [PATCH] Feature/show current wallet version in my account (#459) * add helpcenter link * minor refactor * get version from package.json * change require for import * adding template string --- src/views/my-account/my-account.view.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/my-account/my-account.view.jsx b/src/views/my-account/my-account.view.jsx index 8ddbc0927..6b5c115a1 100644 --- a/src/views/my-account/my-account.view.jsx +++ b/src/views/my-account/my-account.view.jsx @@ -22,6 +22,7 @@ import { ReactComponent as CopyIcon } from '../../images/icons/copy.svg' import Button from '../shared/button/button.view' import { copyToClipboard } from '../../utils/browser' import { ReactComponent as QRCodeIcon } from '../../images/icons/qr-code.svg' +import { version as packagejsonVersion } from '../../../package.json' function MyAccount ({ wallet, @@ -150,6 +151,7 @@ const mapDispatchToProps = (dispatch) => ({ type: 'page', data: { title: 'My Account', + subtitle: `version ${packagejsonVersion}`, goBackAction: push('/') } })),