Put values directly in render props.

This commit is contained in:
picklesrus 2019-09-23 16:15:20 -04:00
parent 0d60b64c39
commit 1a58095782

View file

@ -5,14 +5,12 @@ const ErrorBoundary = require('../../components/errorboundary/errorboundary.jsx'
// Require this even though we don't use it because, without it, webpack runs out of memory... // Require this even though we don't use it because, without it, webpack runs out of memory...
const Page = require('../../components/page/www/page.jsx'); // eslint-disable-line no-unused-vars const Page = require('../../components/page/www/page.jsx'); // eslint-disable-line no-unused-vars
const openModal = true;
const showCloseButton = false;
const Register = () => ( const Register = () => (
<ErrorBoundary> <ErrorBoundary>
<JoinModal <JoinModal
isOpen={openModal} isOpen
key="scratch3registration" key="scratch3registration"
showCloseButton={showCloseButton} showCloseButton={false}
/> />
</ErrorBoundary> </ErrorBoundary>
); );