Moving to more workable v1 solution

This commit is contained in:
Max Lynch
2021-01-09 10:52:20 -06:00
parent 6a14c1c47a
commit ba42e4d6d8
22 changed files with 288 additions and 291 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import Store from '../store';
const usePage = fields => {
useEffect(() => {
console.log('Use page effect');
console.log('Use page effect', fields.title);
Store.update(s => {
s.currentPage = fields;
});