Skip to content

Commit

Permalink
fix: module import location
Browse files Browse the repository at this point in the history
  • Loading branch information
iamogbz committed Sep 13, 2020
1 parent 9e57401 commit 9230f2f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/Provider.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from "react";
import { ActionTypes } from "src/utils/actionTypes";
import { createAction } from "src/createAction";
import { useGetter } from "src/hooks/useGetter";
import { ActionTypes } from "../utils/actionTypes";
import { createAction } from "../createAction";
import { useGetter } from "../hooks/useGetter";

export function Provider<S, T extends string, P>({
children,
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useDispatch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import { GlobalContext } from "src/components/Context";
import { GlobalContext } from "../components/Context";

export function useDispatch<S, T extends string, P>(
actionCreator: ActionCreator<T, P>,
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useSelector.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import { GlobalContext } from "src/components/Context";
import { GlobalContext } from "../components/Context";

export function useSelector<S, R, T extends string, P>(
selector: Selector<S, R, T, P> | undefined,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from "react";
import { act, cleanup, render } from "@testing-library/react";
import { Provider, createContext } from "src";
import { createMocks } from "./mocks";
import { createMocks } from "./__mocks__";

describe("e2e", (): void => {
const {
Expand Down

0 comments on commit 9230f2f

Please sign in to comment.