import React from 'react'; import { discordURL } from 'config'; import { NewTabLink } from 'components/ui'; import './index.scss'; const LS_KEY = 'acknowledged-beta'; interface State { isFading: boolean; hasAcknowledged: boolean; } export default class BetaAgreement extends React.PureComponent<{}, State> { public state = { hasAcknowledged: !!localStorage.getItem(LS_KEY), isFading: false }; public render() { if (this.state.hasAcknowledged) { return null; } const isFading = this.state.isFading ? 'is-fading' : ''; return (

Welcome to the New MyCrypto Beta Release Candidate!

You are about to use the new MyCrypto Beta Release Candidate. Although this is a release candidate for production, we encourage caution while using this unreleased version of MyCrypto.

We hope to move this version of MyCrypto into production in the near future!

Feedback and bug reports are greatly appreciated. You can file issues on our{' '} GitHub repository {' '} or join our Discord server to discuss the beta.

Are you sure you would like to continue?

); } private doContinue = () => { localStorage.setItem(LS_KEY, 'true'); this.setState({ isFading: true }); setTimeout(() => { this.setState({ hasAcknowledged: true }); }, 1000); }; private reject = () => { window.location.assign('https://mycrypto.com'); }; }