fileStorage: use dexie-react-hooks

This lets the dexie-react-hooks library do more of the work for us
instead of having to make redux-sagas wrappers for everything.
This commit is contained in:
David Lechner
2022-05-18 17:06:08 -05:00
parent 4580869e6f
commit a005992a21
22 changed files with 183 additions and 464 deletions
+2
View File
@@ -16,6 +16,8 @@ import {
// @ts-expect-error no typings
import matchMediaPolyfill from 'mq-polyfill';
jest.mock('./fileStorage/hooks');
//https://stackoverflow.com/a/66515427/1976323
matchMediaPolyfill(window);