From bb9ad99339df04c52d822778e307d41237385bb5 Mon Sep 17 00:00:00 2001 From: davidbm12 Date: Fri, 24 Feb 2017 11:33:57 +0100 Subject: [PATCH] Update README.md data array declaration is not working with double array, one level removed. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fff3e21..23d410a 100644 --- a/README.md +++ b/README.md @@ -56,12 +56,12 @@ const styles = StyleSheet.create({ }, }); -const data = [[ +const data = [ [0, 1], [1, 3], [3, 7], [4, 9], -]]; +]; class SimpleChart extends Component { render() {