import React from 'react'; import ReactDOM from 'react-dom'; import { Button } from 'reactstrap'; import { gettext } from './utils/constants'; import Logo from './components/logo'; import Account from './components/common/account'; import TermsPreviewWidget from './components/terms-preview-widget'; import './css/tc-accept.css'; const { csrfToken } = window.app.pageOptions; const { termsName, formAction, formTerms, formReturnTo, logoutURL, termsText } = window.tc; class TCAccept extends React.Component { render() { return (