Commit f0abe041 authored by Robert Knight's avatar Robert Knight

Adapt to ES module change

`$imports` is now a separate named export rather than a property of the
default export.
parent f846ba42
......@@ -3,9 +3,7 @@ import { createElement } from 'preact';
import { act } from 'preact/test-utils';
import { createStore } from 'redux';
import useStore from '../use-store';
const { $imports } = useStore;
import useStore, { $imports } from '../use-store';
const initialState = { value: 10, otherValue: 20 };
const reducer = (state = initialState, action) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment