site help email -odysee tx failed

This commit is contained in:
zeppi 2021-07-19 17:37:14 -04:00 committed by jessopb
parent 991b1193dc
commit a12cd7c2bb

View file

@ -1,6 +1,7 @@
// @flow
import React from 'react';
import { Modal } from 'modal/modal';
import { SITE_HELP_EMAIL } from 'config';
type Props = {
closeModal: () => void,
@ -12,7 +13,11 @@ class ModalTransactionFailed extends React.PureComponent<Props> {
return (
<Modal isOpen contentLabel={__('Transaction failed')} title={__('Transaction failed')} onConfirmed={closeModal}>
<p>{__('Sorry about that. Contact help@odysee.com if you continue to have issues.')}</p>
<p>
{__('Sorry about that. Contact %SITE_HELP_EMAIL% if you continue to have issues.', {
SITE_HELP_EMAIL,
})}
</p>
</Modal>
);
}