mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Put values directly in render props.
This commit is contained in:
parent
0d60b64c39
commit
1a58095782
1 changed files with 2 additions and 4 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue