mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user