Commit 7dbb63c6 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

fix key of uniform content

parent f952d130
......@@ -13,7 +13,6 @@ const GLCanvas = requireNativeComponent("GLCanvas", null);
const renderVcontent = function (width, height, id, children) {
const childrenStyle = {
key: id,
position: "absolute",
top: 0,
left: 0,
......@@ -21,7 +20,7 @@ const renderVcontent = function (width, height, id, children) {
height: height,
overflow: "hidden"
};
return <View style={childrenStyle}>{children}</View>;
return <View key={id} style={childrenStyle}>{children}</View>;
};
const renderVGL = function (props) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment