From a0f8f4c9cb25fed80b9621b704e9941f9962a656 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Tue, 20 Sep 2016 00:46:43 -0300 Subject: [PATCH] Adding key to list on area_stack Keys are needed for a list of React components: https://fb.me/react-warning-keys --- src/components/area_stack.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/area_stack.jsx b/src/components/area_stack.jsx index 538e706..0a3a73e 100644 --- a/src/components/area_stack.jsx +++ b/src/components/area_stack.jsx @@ -35,13 +35,14 @@ export default class AreaStack extends Component { return ( { - _setStack(dataset).map((area) => { + _setStack(dataset).map((area, key) => { return ( ) })