Prepare changes for review and preview build

This commit is contained in:
Kurt Hutten
2021-11-21 18:12:56 +11:00
parent b1ff7796b9
commit 0face9b9c1
6 changed files with 18 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ const IdeViewer = ({
const { state, thunkDispatch } = useIdeContext()
const dataType = state.objectData?.type
const artifact = state.objectData?.data
const ideType = state.ideType
const onInit = (threeInstance) => {
thunkDispatch({ type: 'setThreeInstance', payload: threeInstance })
@@ -44,6 +45,7 @@ const IdeViewer = ({
onCameraChange={onCameraChange}
isLoading={state.isLoading}
camera={state?.camera}
ideType={ideType}
/>
)
}