mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-23 19:30:34 -04:00
Add in the error boundary.
This commit is contained in:
parent
aa1c4116e0
commit
55e8f2c323
1 changed files with 3 additions and 2 deletions
|
@ -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'));
|
||||
|
|
Loading…
Add table
Reference in a new issue