1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-30 19:00:53 +00:00

remove link from Success notification in ripple SendForm

This commit is contained in:
Szymon Lesisz 2018-12-18 22:12:22 +01:00
parent a8d623b6a7
commit 39786377b6

View File

@ -1,6 +1,4 @@
/* @flow */ /* @flow */
import React from 'react';
import Link from 'components/Link';
import TrezorConnect from 'trezor-connect'; import TrezorConnect from 'trezor-connect';
import * as NOTIFICATION from 'actions/constants/notification'; import * as NOTIFICATION from 'actions/constants/notification';
import * as SEND from 'actions/constants/send'; import * as SEND from 'actions/constants/send';
@ -250,7 +248,7 @@ export const onSend = (): AsyncAction => async (dispatch: Dispatch, getState: Ge
payload: { payload: {
type: 'success', type: 'success',
title: 'Transaction success', title: 'Transaction success',
message: <Link href={`${network.explorer.tx}${txid}`} isGreen>See transaction detail</Link>, message: txid,
cancelable: true, cancelable: true,
actions: [], actions: [],
}, },