Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 2x 3x 3x | import NiceModal from "@ebay/nice-modal-react";
import GiveBaseModal from "@shared/modals/GiveBaseModal";
import useNiceModal from "@common/Modal/ModalFactory/hooks/useNiceModal";
import { TermsOfService } from "pages/TermsOfService";
// Temporarily pinned to the hardcoded copy (AGR001): the acceptance modal
// (login / signup / send-money) must NOT show the acquirer's published Terms of
// Service until the customer clarifies which version the public surfaces should
// carry. Restore the usePublicLegalDocument/DocumentViewer rendering once
// confirmed.
const TermsOfServiceRebrandModal = NiceModal.create(() => {
const { open, onClose } = useNiceModal();
return (
<GiveBaseModal
open={open}
title="Terms of Service"
width="600px"
onClose={onClose}
showFooter={false}
>
<TermsOfService isGeneral />
</GiveBaseModal>
);
});
export default TermsOfServiceRebrandModal;
|