Skip to content

Commit

Permalink
Merge pull request #606 from RJMaradiaga/viewFunctionality
Browse files Browse the repository at this point in the history
changed the "usersettings" prop to lowercase across all layout files
  • Loading branch information
jf-kelly authored Aug 31, 2022
2 parents 018d047 + b37e5b7 commit c12b708
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/layouts/Collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import * as layoutTypes from "../../constants/LayoutTypes.js";
* @param {object} param0 List of props that will be use in components
* @returns {HTMLElement} Layout of the collection page
*/
export const Collection = ({ editor, editorActions, user, userSettings, userActions, authActions, scene, sceneActions, projectActions, courseActions, projects, courses, match, collectionActions, collections }) => (
export const Collection = ({ editor, editorActions, user, usersettings, userActions, authActions, scene, sceneActions, projectActions, courseActions, projects, courses, match, collectionActions, collections }) => (
<div className="App">
<Header
logging={authActions}
Expand Down Expand Up @@ -45,7 +45,7 @@ export const Collection = ({ editor, editorActions, user, userSettings, userActi
savedText={editor.savedText}
/>
<div className='collection'>
<Editor text={editor.text} user={user} settings={userSettings} savedText={editor.savedText} />
<Editor text={editor.text} user={user} settings={usersettings} savedText={editor.savedText} />
</div>
</div>
<div id="scene" className="col-12 col-md-8">
Expand Down
5 changes: 3 additions & 2 deletions src/components/layouts/ReferenceExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import "../../css/ReferencePage.css";
* @param {object} param0 List of props that will be use in components
* @returns {HTMLElement} Layout for example scene page
*/
export const ReferenceExample = ({ editor, user, scene, referenceExample, referenceExampleActions, editorActions, authActions, projectActions, projects, courseActions, courses, match, sceneActions, collectionActions, collections, userSettings, userActions }) => (

export const ReferenceExample = ({ editor, user, scene, referenceExample, referenceExampleActions, editorActions, authActions, projectActions, projects, courseActions, courses, match, sceneActions, collectionActions, collections, usersettings, userActions }) => (
<div className="App">
<Header
logging={authActions}
Expand Down Expand Up @@ -48,7 +49,7 @@ export const ReferenceExample = ({ editor, user, scene, referenceExample, refere
<div id="interface" className="col-12 col-md-4">
<RefExInfo referenceExample={referenceExample} />
<div className='ref-ex-edit'>
<Editor refresh={editorActions.refresh} render={editorActions.render} text={editor.text} user={user} settings={userSettings} userActions={userActions} />
<Editor refresh={editorActions.refresh} render={editorActions.render} text={editor.text} user={user} settings={usersettings} userActions={userActions} />
</div>
</div>
<div id="scene" className="col-12 col-md-8" >
Expand Down

0 comments on commit c12b708

Please sign in to comment.