mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
remove print button from profile pages (#923)
This commit is contained in:
parent
88dbb1d4ba
commit
e4032f0c98
12
package-lock.json
generated
12
package-lock.json
generated
@ -10656,12 +10656,6 @@
|
||||
"npm": ">=6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/js-cookie": {
|
||||
"version": "2.2.7",
|
||||
"resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-2.2.7.tgz",
|
||||
"integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@truffle/preserve-to-filecoin/node_modules/multicodec": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/multicodec/-/multicodec-3.2.1.tgz",
|
||||
@ -11832,6 +11826,12 @@
|
||||
"pretty-format": "^26.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/js-cookie": {
|
||||
"version": "2.2.7",
|
||||
"resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-2.2.7.tgz",
|
||||
"integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/js-yaml": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.2.tgz",
|
||||
|
@ -9,7 +9,7 @@
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.profile,
|
||||
.profile *:not(.printButton) {
|
||||
.profile * {
|
||||
visibility: visible;
|
||||
}
|
||||
.profile {
|
||||
|
@ -1,7 +1,6 @@
|
||||
import React, { ReactElement } from 'react'
|
||||
import HistoryPage from './History'
|
||||
import AccountHeader from './Header'
|
||||
import Button from '../../atoms/Button'
|
||||
import styles from './index.module.css'
|
||||
|
||||
export default function AccountPage({
|
||||
@ -13,16 +12,6 @@ export default function AccountPage({
|
||||
<div className={styles.profile}>
|
||||
<AccountHeader accountId={accountId} />
|
||||
<HistoryPage accountIdentifier={accountId} />
|
||||
|
||||
<Button
|
||||
className={styles.printButton}
|
||||
onClick={() => {
|
||||
window.print()
|
||||
}}
|
||||
style="primary"
|
||||
>
|
||||
Print
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user