diff --git a/packages/app/src/components/resource/index.jsx b/packages/app/src/components/resource/index.jsx index 2e95aab..0a5b0b2 100644 --- a/packages/app/src/components/resource/index.jsx +++ b/packages/app/src/components/resource/index.jsx @@ -10,7 +10,6 @@ import {resourceSelector, UriContext} from '@persea/core'; const Resource = ({uri, uuid}) => { const latus = useLatus(); - console.log(`${uuid}${uri}`); const resource = useSelector((state) => resourceSelector(state, `${uuid}${uri}`)); const {Component} = latus.get('%resource-controllers')(uri); return ( diff --git a/packages/entity/src/behavior-components/condition.jsx b/packages/entity/src/behavior-components/condition.jsx index 57f2c74..64cb9b6 100644 --- a/packages/entity/src/behavior-components/condition.jsx +++ b/packages/entity/src/behavior-components/condition.jsx @@ -113,9 +113,6 @@ Condition.displayName = 'Condition'; Condition.propTypes = { context: PropTypes.shape({ - constructor: PropTypes.shape({ - descriptionFor: PropTypes.func, - }), describeChildren: PropTypes.func, get: PropTypes.func, }).isRequired, diff --git a/packages/entity/src/behavior-components/expression.jsx b/packages/entity/src/behavior-components/expression.jsx index c1de8c7..850aa3f 100644 --- a/packages/entity/src/behavior-components/expression.jsx +++ b/packages/entity/src/behavior-components/expression.jsx @@ -345,9 +345,7 @@ Expression.displayName = 'Expression'; Expression.propTypes = { context: PropTypes.shape({ - constructor: PropTypes.shape({ - descriptionFor: PropTypes.func, - }), + constructor: PropTypes.func, describeChildren: PropTypes.func, get: PropTypes.func, }).isRequired, diff --git a/packages/entity/src/behavior-components/expression/invocation.jsx b/packages/entity/src/behavior-components/expression/invocation.jsx index e68b8c1..5c77522 100644 --- a/packages/entity/src/behavior-components/expression/invocation.jsx +++ b/packages/entity/src/behavior-components/expression/invocation.jsx @@ -120,7 +120,7 @@ Invocation.propTypes = { description: PropTypes.shape({ args: PropTypes.arrayOf( PropTypes.shape({ - options: PropTypes.shape({}), + options: PropTypes.arrayOf(PropTypes.any), type: PropTypes.string, }), ), diff --git a/packages/sound/src/resource-controllers/sound/index.jsx b/packages/sound/src/resource-controllers/sound/index.jsx index 282eff4..df8ac5a 100644 --- a/packages/sound/src/resource-controllers/sound/index.jsx +++ b/packages/sound/src/resource-controllers/sound/index.jsx @@ -96,7 +96,7 @@ SoundComponent.displayName = 'SoundComponent'; SoundComponent.propTypes = { path: PropTypes.string, - resource: PropTypes.string.isRequired, + resource: PropTypes.shape({}).isRequired, }; export default class SoundController extends JsonResourceController {