@graffy/react
Advanced tools
Comparing version 0.13.8 to 0.13.9
@@ -5,3 +5,3 @@ { | ||
"author": "aravind (https://github.com/aravindet)", | ||
"version": "0.13.8", | ||
"version": "0.13.9", | ||
"main": "index.js", | ||
@@ -8,0 +8,0 @@ "source": "src/index.js", |
@@ -49,3 +49,3 @@ import React from 'react'; | ||
if (once) { | ||
retrieveResult(store.read(query)); | ||
retrieveResult(store.read(query), setState); | ||
} else { | ||
@@ -52,0 +52,0 @@ const subscription = store.watch(query); |
@@ -204,3 +204,3 @@ "use strict"; | ||
if (once) { | ||
retrieveResult(store.read(query)); | ||
retrieveResult(store.read(query), setState); | ||
} else { | ||
@@ -207,0 +207,0 @@ var subscription = store.watch(query); |
16932