{"action":"closed","issue":{"url":"https://api.github.com/repos/Yomguithereal/baobab-react/issues/53","labels_url":"https://api.github.com/repos/Yomguithereal/baobab-react/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/Yomguithereal/baobab-react/issues/53/comments","events_url":"https://api.github.com/repos/Yomguithereal/baobab-react/issues/53/events","html_url":"https://github.com/Yomguithereal/baobab-react/issues/53","id":77443127,"number":53,"title":"Warning: Failed Context Types: prop type `tree` is invalid; it must be a Baobab tree.","user":{"login":"y4ku","id":565520,"avatar_url":"https://avatars.githubusercontent.com/u/565520?v=3","gravatar_id":"","url":"https://api.github.com/users/y4ku","html_url":"https://github.com/y4ku","followers_url":"https://api.github.com/users/y4ku/followers","following_url":"https://api.github.com/users/y4ku/following{/other_user}","gists_url":"https://api.github.com/users/y4ku/gists{/gist_id}","starred_url":"https://api.github.com/users/y4ku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y4ku/subscriptions","organizations_url":"https://api.github.com/users/y4ku/orgs","repos_url":"https://api.github.com/users/y4ku/repos","events_url":"https://api.github.com/users/y4ku/events{/privacy}","received_events_url":"https://api.github.com/users/y4ku/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yomguithereal/baobab-react/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-18T00:46:17Z","updated_at":"2015-09-28T15:12:13Z","closed_at":"2015-09-28T15:12:13Z","body":"These are the only places that I am attempting to use the tree.\r\nAny thoughts?\r\n\r\nvar Baobab = require('baobab');\r\n\r\n**State Tree File:**\r\n```\r\nvar ScheduleStateTree = new Baobab({\r\n\tmodel: {\r\n\t},\r\n\tview: {\r\n\t\tcurrent: 'day'\r\n\t}\r\n});\r\n\r\nmodule.exports = ScheduleStateTree;\r\n```\r\n\r\n**Schedule Component:**\r\n```\r\nvar React = require('react');\r\nvar Router = require('react-router');\r\nvar { Link } = Router;\r\nvar ScheduleContainer = require('./Schedule/ScheduleContainer');\r\nvar ScheduleStateTree = require('./../StateTrees/ScheduleStateTree');\r\nvar BoababReactMixinRoot = require('baobab-react/mixins').root;\r\n\r\nvar Schedule = React.createClass({\r\n    mixins: [BoababReactMixinRoot],\r\n    render: function() {\r\n        return (\r\n            <div className=\"schedule\">\r\n                <h2>Schedule</h2>\r\n                <ScheduleContainer tree={ScheduleStateTree} />\r\n            </div>\r\n        );\r\n    }\r\n});\r\n\r\nmodule.exports = Schedule;\r\n```\r\n\r\n**Container Component:**\r\n```\r\nvar React = require('react');\r\nvar Router = require('react-router');\r\nvar { Link } = Router;\r\nvar ScheduleToggle = require('./ScheduleToggle');\r\nvar BoababReactMixinBranch = require('baobab-react/mixins').branch;\r\n\r\nvar ScheduleContainer = React.createClass({\r\n\tmixins: [BoababReactMixinBranch],\r\n    render: function() {\r\n        return (\r\n        \t<div className=\"schedule-container\">\r\n        \t\r\n        \t</div>\r\n        );\r\n    }\r\n});\r\n\r\nmodule.exports = ScheduleContainer;\r\n```\r\n\r\nI keep getting the following:\r\nWarning: Failed propType: prop type `tree` is invalid; it must be a Baobab tree. Check the render method of `RouteHandler`.\r\napp.js:25374 Warning: Failed Context Types: prop type `tree` is invalid; it must be a Baobab tree. Check the render method of `RouteHandler`.\r\napp.js:25374 Warning: Failed Context Types: prop type `tree` is invalid; it must be a Baobab tree. Check the render method of `Schedule`.\r\n\r\n\r\n"}}