Skip to content

Commit 94ca5f2

Browse files
authored
chore: trying local imports for workflow
1 parent 2ede4c4 commit 94ca5f2

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

testing-app/src/testComponents.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/* eslint-disable react-hooks/rules-of-hooks */
2-
import {
3-
createLoader,
4-
InferLoaderData,
5-
withLoader,
6-
} from "@ryfylke-react/rtk-query-loader";
72
import { useRef, useState } from "react";
3+
import { withLoader } from "../../src/withLoader";
4+
import { createLoader } from "../../src/createLoader";
5+
import { InferLoaderData } from "../../src/types";
86
import { aggregateToQuery } from "../../src/aggregateToQuery";
97
import {
108
Pokemon,

testing-app/src/tests.test.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/* eslint-disable react-hooks/rules-of-hooks */
2-
import {
3-
createLoader,
4-
withLoader,
5-
} from "@ryfylke-react/rtk-query-loader";
62
import userEvent from "@testing-library/user-event";
73
import { useState } from "react";
4+
import { withLoader } from "../../src/withLoader";
5+
import { createLoader } from "../../src/createLoader";
86
import {
97
useGetPokemonByNameQuery,
108
useGetPokemonsQuery,

0 commit comments

Comments
 (0)