diff --git a/client/components/Nav.js b/client/components/Nav.js index 03fdf57c..0a17fcb3 100644 --- a/client/components/Nav.js +++ b/client/components/Nav.js @@ -19,7 +19,7 @@ function Nav(props) {
  • props.saveProject()} > Save diff --git a/client/modules/IDE/actions/project.js b/client/modules/IDE/actions/project.js index 96cc2099..dfd4fddc 100644 --- a/client/modules/IDE/actions/project.js +++ b/client/modules/IDE/actions/project.js @@ -49,7 +49,7 @@ export function setProjectName(name) { }; } -export function saveProject(autosave) { +export function saveProject(autosave = false) { return (dispatch, getState) => { const state = getState(); if (state.user.id && state.project.owner && state.project.owner.id !== state.user.id) {