mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -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...
|
||||
const Page = require('../../components/page/www/page.jsx'); // eslint-disable-line no-unused-vars
|
||||
|
||||
const openModal = true;
|
||||
const showCloseButton = false;
|
||||
const Register = () => (
|
||||
<ErrorBoundary>
|
||||
<JoinModal
|
||||
isOpen={openModal}
|
||||
isOpen
|
||||
key="scratch3registration"
|
||||
showCloseButton={showCloseButton}
|
||||
showCloseButton={false}
|
||||
/>
|
||||
</ErrorBoundary>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue