mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-28 01:56:00 -05:00
Address review comments
This commit is contained in:
parent
ef801112cd
commit
0edd946fee
2 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@ const projectShape = require('./projectshape.jsx').projectShape;
|
|||
require('./preview.scss');
|
||||
|
||||
const frameless = require('../../lib/frameless');
|
||||
|
||||
// disable enter key submission on formsy input fields; otherwise formsy thinks
|
||||
// we meant to trigger the "See inside" button. Instead, treat these keypresses
|
||||
// as a blur, which will trigger a save.
|
||||
|
|
|
@ -110,7 +110,6 @@ class Preview extends React.Component {
|
|||
socialOpen: false,
|
||||
favoriteCount: 0,
|
||||
isProjectLoaded: false,
|
||||
isProjectCommentsGloballyEnabled: false,
|
||||
isRemixing: false,
|
||||
invalidProject: parts.length === 1,
|
||||
justRemixed: false,
|
||||
|
@ -960,6 +959,7 @@ Preview.defaultProps = {
|
|||
backpackHost: process.env.BACKPACK_HOST,
|
||||
canUseBackpack: false,
|
||||
cloudHost: process.env.CLOUDDATA_HOST,
|
||||
isProjectCommentsGloballyEnabled: false,
|
||||
projectHost: process.env.PROJECT_HOST,
|
||||
sessionStatus: sessionActions.Status.NOT_FETCHED,
|
||||
user: {},
|
||||
|
|
Loading…
Reference in a new issue