File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -284,10 +284,10 @@ Panel.childContextTypes = {
284284var panelRNStyle = bridge => ( node , id ) => {
285285 var props = node . get ( 'props' ) ;
286286 if ( ! props || ! props . style ) {
287- return < strong > No style</ strong > ;
287+ return < strong key = "rnstyle" > No style</ strong > ;
288288 }
289289 return (
290- < div >
290+ < div key = "rnstyle" >
291291 < h3 > React Native Style Editor</ h3 >
292292 < NativeStyler id = { id } bridge = { bridge } />
293293 </ div >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class StyleEdit extends React.Component {
4747 return (
4848 < ul style = { styles . container } >
4949 { attrs . map ( name => (
50- < li style = { styles . attr } >
50+ < li key = { 'style-' + name } style = { styles . attr } >
5151 < BlurInput
5252 value = { name }
5353 onChange = { newName => this . props . onRename ( name , '' + newName , this . props . style [ name ] ) }
You can’t perform that action at this time.
0 commit comments