Add in the error boundary.

This commit is contained in:
picklesrus 2019-08-12 16:04:51 -04:00
parent aa1c4116e0
commit 55e8f2c323

View file

@ -1,14 +1,15 @@
const React = require('react');
const render = require('../../lib/render.jsx');
const JoinModal = require('../../components/modal/join/modal.jsx');
const ErrorBoundary = require('../../components/errorboundary/errorboundary.jsx');
const openModal = true;
const Register = () => (
<div className="join">
<ErrorBoundary>
<JoinModal
isOpen={openModal}
key="scratch3registration"
/>
</div>
</ErrorBoundary>
);
render(<Register />, document.getElementById('app'));