Skip to content

Commit 7c0f44f

Browse files
committed
fix: comments
1 parent 9386e19 commit 7c0f44f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/projects/create/components/ProjectWizard.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ class ProjectWizard extends Component {
9090
const incompleteQueryParams = incompleteProjectQueryParamsStr ? JSON.parse(incompleteProjectQueryParamsStr) : {}
9191
const queryParams = qs.parse(window.location.search)
9292
// find out if the query params are different in the saved incomplete project and now
93-
// if query params are different, then we would treat such form as different and wouldn't
94-
// continue editing, we would propose user to start from scratch or continue with old query params
93+
// if query params are different, then we would treat such form as different and wouldn't continue editing,
94+
// we would propose user to start from scratch or continue with old query params
9595
const isQueryParamsChanged = !_.isEqual(
9696
_.omit(queryParams, SPECIAL_QUERY_PARAMS),
9797
_.omit(incompleteQueryParams, SPECIAL_QUERY_PARAMS)
@@ -144,7 +144,7 @@ class ProjectWizard extends Component {
144144
// get `templateId` from update query which has been updated above by calling `this.loadProjectFromURL`
145145
const templateId = _.get(updateQuery, 'templateId.$set')
146146
const projectTemplate = _.find(projectTemplates, { id: templateId })
147-
// during evaluation we do use `SPECIAL_QUERY_PARAMS`, and we don't store special params
147+
// during evaluation we do not use `SPECIAL_QUERY_PARAMS`, and we don't store them
148148
const queryParams = _.omit(qs.parse(window.location.search), SPECIAL_QUERY_PARAMS)
149149
// always store query params in local storage
150150
// if later they are changed for incomplete project we would know that probably user open another link and we have to reset project
@@ -293,7 +293,7 @@ class ProjectWizard extends Component {
293293
const projectTemplateId = _.get(this.state.project, 'templateId')
294294
let wizardStep = WZ_STEP_SELECT_PROJ_TYPE
295295
let project = null
296-
// during evaluation we do use `SPECIAL_QUERY_PARAMS`, and we don't store special params
296+
// during evaluation we do not use `SPECIAL_QUERY_PARAMS`, and we don't store them
297297
const queryParams = _.omit(qs.parse(window.location.search), SPECIAL_QUERY_PARAMS)
298298
// always store query params in local storage
299299
// if later they are changed for incomplete project we would know that probably user open another link and we have to reset project

0 commit comments

Comments
 (0)