deleted stuff
This commit is contained in:
parent
539bce8a91
commit
4015b0a708
|
@ -9,7 +9,6 @@ import { Col } from 'web/components/layout/col'
|
||||||
import { Row } from 'web/components/layout/row'
|
import { Row } from 'web/components/layout/row'
|
||||||
import { Claim, Manalink } from 'common/manalink'
|
import { Claim, Manalink } from 'common/manalink'
|
||||||
import { ShareIconButton } from './share-icon-button'
|
import { ShareIconButton } from './share-icon-button'
|
||||||
import { contractDetailsButtonClassName } from './contract/contract-info-dialog'
|
|
||||||
import { useUserById } from 'web/hooks/use-user'
|
import { useUserById } from 'web/hooks/use-user'
|
||||||
import getManalinkUrl from 'web/get-manalink-url'
|
import getManalinkUrl from 'web/get-manalink-url'
|
||||||
|
|
||||||
|
@ -133,10 +132,7 @@ export function ManalinkCardFromView(props: {
|
||||||
{formatMoney(amount)}
|
{formatMoney(amount)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button
|
<button onClick={() => (window.location.href = qrUrl)}>
|
||||||
onClick={() => (window.location.href = qrUrl)}
|
|
||||||
className={clsx(contractDetailsButtonClassName)}
|
|
||||||
>
|
|
||||||
<QrcodeIcon className="h-6 w-6" />
|
<QrcodeIcon className="h-6 w-6" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
@ -151,7 +147,6 @@ export function ManalinkCardFromView(props: {
|
||||||
<button
|
<button
|
||||||
onClick={() => setShowDetails(!showDetails)}
|
onClick={() => setShowDetails(!showDetails)}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
contractDetailsButtonClassName,
|
|
||||||
showDetails
|
showDetails
|
||||||
? 'bg-gray-200 text-gray-600 hover:bg-gray-200 hover:text-gray-600'
|
? 'bg-gray-200 text-gray-600 hover:bg-gray-200 hover:text-gray-600'
|
||||||
: ''
|
: ''
|
||||||
|
|
|
@ -5,7 +5,6 @@ import clsx from 'clsx'
|
||||||
import { copyToClipboard } from 'web/lib/util/copy'
|
import { copyToClipboard } from 'web/lib/util/copy'
|
||||||
import { ToastClipboard } from 'web/components/toast-clipboard'
|
import { ToastClipboard } from 'web/components/toast-clipboard'
|
||||||
import { track } from 'web/lib/service/analytics'
|
import { track } from 'web/lib/service/analytics'
|
||||||
import { contractDetailsButtonClassName } from 'web/components/contract/contract-info-dialog'
|
|
||||||
|
|
||||||
export function ShareIconButton(props: {
|
export function ShareIconButton(props: {
|
||||||
buttonClassName?: string
|
buttonClassName?: string
|
||||||
|
@ -29,7 +28,6 @@ export function ShareIconButton(props: {
|
||||||
<div className="relative z-10 flex-shrink-0">
|
<div className="relative z-10 flex-shrink-0">
|
||||||
<button
|
<button
|
||||||
className={clsx(
|
className={clsx(
|
||||||
contractDetailsButtonClassName,
|
|
||||||
buttonClassName,
|
buttonClassName,
|
||||||
showToast ? onCopyButtonClassName : ''
|
showToast ? onCopyButtonClassName : ''
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user