on master help sign in
fix: correctly append entries to point cache
commitedf00a4855c6d1a911bdd4dddb639116cb5eca75 authorMatt Condon (shrugs) <mattgcondon@gmail.com> dateMon 17 Jun 2019, 11:55 (7 years ago) parent7da2fb2
1 file changed+1−1
src/bridge/store/pointCache.js+1−1
src/bridge/store/pointCache.js+1−1
@@ -6,7 +6,7 @@ function _usePointCache() {
66 const [pointCache, _setPointCache] = useState({});
77
88 const addToPointCache = entry =>
9− _setPointCache(cache => ({ ...cache, entry }));
9+ _setPointCache(cache => ({ ...cache, ...entry }));
1010
1111 return {
1212 pointCache,