From 5c215d32908da1c8cdc66b08d752900ed81fae5f Mon Sep 17 00:00:00 2001 From: jf-kelly Date: Thu, 16 Jun 2022 14:06:53 -0400 Subject: [PATCH] Fixed the bug with reference examples not showing up --- src/components/layouts/ReferenceExample.js | 4 ++-- src/containers/ReferenceExample.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/layouts/ReferenceExample.js b/src/components/layouts/ReferenceExample.js index 49412afd..b5fe7151 100644 --- a/src/components/layouts/ReferenceExample.js +++ b/src/components/layouts/ReferenceExample.js @@ -14,7 +14,7 @@ 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 }) => ( +export const ReferenceExample = ({ editor, user, scene, referenceExample, referenceExampleActions, editorActions, authActions, projectActions, projects, courseActions, courses, match, sceneActions, collectionActions, collections, userSettings, userActions }) => (
- +
diff --git a/src/containers/ReferenceExample.js b/src/containers/ReferenceExample.js index fbf279ac..8ae32261 100644 --- a/src/containers/ReferenceExample.js +++ b/src/containers/ReferenceExample.js @@ -21,6 +21,7 @@ ReferenceExample.propTypes = { const mapStateToProps = state => ({ editor: state.editor, user: state.user.user, + userSettings: state.user.settings, scene: state.scene, projects: state.project, courses: state.courses,