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