Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Feature/show current wallet version in my account (#459)
Browse files Browse the repository at this point in the history
* add helpcenter link

* minor refactor

* get version from package.json

* change require for import

* adding template string
  • Loading branch information
mmilenkovic authored Apr 30, 2021
1 parent 57e8a2d commit caf8457
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/my-account/my-account.view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -150,6 +151,7 @@ const mapDispatchToProps = (dispatch) => ({
type: 'page',
data: {
title: 'My Account',
subtitle: `version ${packagejsonVersion}`,
goBackAction: push('/')
}
})),
Expand Down

0 comments on commit caf8457

Please sign in to comment.