{"action":"closed","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/5848","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/5848/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/5848/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/5848/events","html_url":"https://github.com/callemall/material-ui/issues/5848","id":197941050,"number":5848,"title":"get this : unknown prop `nestedLevel` on <div> tag","user":{"login":"liu0fanyi","id":3987452,"avatar_url":"https://avatars.githubusercontent.com/u/3987452?v=3","gravatar_id":"","url":"https://api.github.com/users/liu0fanyi","html_url":"https://github.com/liu0fanyi","followers_url":"https://api.github.com/users/liu0fanyi/followers","following_url":"https://api.github.com/users/liu0fanyi/following{/other_user}","gists_url":"https://api.github.com/users/liu0fanyi/gists{/gist_id}","starred_url":"https://api.github.com/users/liu0fanyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liu0fanyi/subscriptions","organizations_url":"https://api.github.com/users/liu0fanyi/orgs","repos_url":"https://api.github.com/users/liu0fanyi/repos","events_url":"https://api.github.com/users/liu0fanyi/events{/privacy}","received_events_url":"https://api.github.com/users/liu0fanyi/received_events","type":"User","site_admin":false},"labels":[{"id":337647829,"url":"https://api.github.com/repos/callemall/material-ui/labels/Question","name":"Question","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-29T01:44:27Z","updated_at":"2017-01-01T18:24:33Z","closed_at":"2017-01-01T18:24:33Z","body":"the complete warning:\r\n\r\n> Warning: Unknown prop `nestedLevel` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop\r\n    in div (created by List)\r\n    in List (created by AppNavDrawer)\r\n    in div (created by List)\r\n    in List (created by NestedList)\r\n    in NestedList (created by ListItem)\r\n    in div (created by ListItem)\r\n    in ListItem (created by AppNavDrawer)\r\n    in div (created by AppNavDrawer)\r\n    in div (created by List)\r\n    in List (created by _class)\r\n    in _class (created by AppNavDrawer)\r\n    in div (created by Paper)\r\n    in Paper (created by Drawer)\r\n    in div (created by Drawer)\r\n    in Drawer (created by AppNavDrawer)\r\n    in AppNavDrawer (created by App)\r\n    in div (created by App)\r\n    in App (created by WithWidth)\r\n    in EventListener (created by WithWidth)\r\n    in WithWidth (created by Container(WithWidth))\r\n    in Container(WithWidth) (created by RouterContext)\r\n    in RouterContext (created by Router)\r\n    in Router\r\n\r\nand my code:\r\n```javascript\r\n{this.props.logged ?\r\n\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<Divider />\r\n\t\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t\t<TextField\r\n\t\t\t\t\t\t\t\t\tstyle={{\r\n\t\t\t\t\t\t\t\t\t\twidth: 'auto',\r\n\t\t\t\t\t\t\t\t\t\tmargin: 10,\r\n\t\t\t\t\t\t\t\t\t}}\r\n\t\t\t\t\t\t\t\t\tid=\"text-field-default\"\r\n\t\t\t\t\t\t\t\t\tdefaultValue=\"add new\"\r\n\t\t\t\t\t\t\t\t\tref=\"text\"\r\n\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t<FloatingActionButton\r\n\t\t\t\t\t\t\t\t\tsecondary={true}\r\n\t\t\t\t\t\t\t\t\tmini={true}\r\n\t\t\t\t\t\t\t\t\tonClick={(event, value=this.refs.text.getValue()) => {this.listCreate(value)}}>\r\n\t\t\t\t\t\t\t\t\t<ContentAdd />\r\n\t\t\t\t\t\t\t\t</FloatingActionButton>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t{lists.length === 0 ? this.listCreate():\r\n\t\t\t\t\t\t\t\tlists.map(list => (\r\n\t\t\t\t\t\t\t\t\t<ListItem\r\n\t\t\t\t\t\t\t\t\t\tstyle={{width: 'auto',}}\r\n\t\t\t\t\t\t\t\t\t\tprimaryText={list.name}\r\n\t\t\t\t\t\t\t\t\t\tkey={list._id}\r\n\t\t\t\t\t\t\t\t\t\tleftIcon={<FileFolder />}\r\n\t\t\t\t\t\t\t\t\t\t/*onClick={() => {browserHistory.push(`/lists/${list._id}`);}}*/\r\n\t\t\t\t\t\t\t\t\t\t//onClick={() => {browserHistory.push(`/lists/${list._id}/new`);}}\r\n\t\t\t\t\t\t\t\t\t\tprimaryTogglesNestedList={true}\r\n\t\t\t\t\t\t\t\t\t\tnestedItems={[\r\n\t\t\t\t\t\t\t\t\t\t\t<ListItem\r\n\t\t\t\t\t\t\t\t\t\t\t\tkey={'1'}\r\n\t\t\t\t\t\t\t\t\t\t\t\tprimaryText=\"delete\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tleftIcon={<ContentRemove />}\r\n\t\t\t\t\t\t\t\t\t\t\t\tonClick={() => {this.listRemove(list._id);}}\r\n\t\t\t\t\t\t\t\t\t\t\t/>,\r\n\t\t\t\t\t\t\t\t\t\t\t<ListItem\r\n\t\t\t\t\t\t\t\t\t\t\t\tkey={'2'}\r\n\t\t\t\t\t\t\t\t\t\t\t\tprimaryText=\"edit\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tleftIcon={<ContentAdd />}\r\n\t\t\t\t\t\t\t\t\t\t\t\tonClick={() => {browserHistory.push(`/lists/${list._id}/new`);}}\r\n\t\t\t\t\t\t\t\t\t\t\t/>,\r\n\t\t\t\t\t\t\t\t\t\t\t<List key={'3'}>\r\n\t\t\t\t\t\t\t\t\t\t\t{list.doc ? (list.doc.length === 0 ? <ListItem key={'3_1'}/> :\r\n\t\t\t\t\t\t\t\t\t\t\t\tlist.doc.map(doc => (\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ListItem\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tkey={doc.id}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tprimaryText={doc.title}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tprimaryTogglesNestedList={true}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trightIcon={<ContentAdd />}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={() => {browserHistory.push(`/documents/${doc.id}/edit`);}}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t))):<ListItem key={'3_2'}/>\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t</List>\r\n\t\t\t\t\t\t\t\t\t\t]}\r\n\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t))\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t:<div/>}\r\n```\r\n\r\nHow to fix it?"}}
{"actor":{"display_login":"oliviertassinari"}}