Skip to content

Commit 865148f

Browse files
authored
bug(semval, rendering): remove problematic definitions action override (#1626)
1 parent 0a7c86f commit 865148f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/plugins/validate-semantic/index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as selectors from "./selectors"
22
import * as actions from "./actions"
33
import traverse from "traverse"
44
import {createSelector} from "reselect"
5-
import { fromJS } from "immutable"
65
import debounce from "lodash/debounce"
76

87
import * as formDataValidateActions from "./validators/form-data"
@@ -29,11 +28,7 @@ export default function SemanticValidatorsPlugin({getSystem}) {
2928
jsonAsJS: createSelector(
3029
state => state.get("resolved"),
3130
(spec) => spec ? spec.toJS() : null
32-
),
33-
definitions: createSelector(
34-
state => state.getIn(["json", "definitions"]),
35-
(defs) => defs || fromJS({})
36-
),
31+
)
3732
},
3833
wrapActions: {
3934
validateSpec: (ori, system) => (...args) => {

0 commit comments

Comments
 (0)