Skip to content

Commit

Permalink
Fix tree renderer example which was using outdated prop names (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmetanakol authored and edgarmueller committed Aug 1, 2018
1 parent 6c65cb1 commit 34f620c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/material-tree-renderer/example/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { materialFields, materialRenderers } from '@jsonforms/material-renderers
import * as _ from 'lodash';
import { findAllContainerProperties, Property } from '../src/services/property.util';
import { JsonSchema7 } from '@jsonforms/core';
import { editorReducer, setContainerProperties } from '../src/reducers';
import { setContainerProperties, treeWithDetailReducer } from '../src/reducers';
import * as JsonRefs from 'json-refs';
import {
Actions,
Expand Down Expand Up @@ -83,7 +83,7 @@ const jsonforms: any = {
jsonforms: {
renderers,
fields,
editor: {
treeWithDetail: {
imageMapping: imageProvider,
labelMapping: labelProvider,
modelMapping,
Expand All @@ -96,7 +96,7 @@ const store: Store<any> = createStore(
combineReducers({
jsonforms: jsonformsReducer(
{
editor: editorReducer
treeWithDetail: treeWithDetailReducer
}
)
}
Expand Down

0 comments on commit 34f620c

Please sign in to comment.