diff --git a/pages/tools/apiClient.ts b/apiClient.ts similarity index 100% rename from pages/tools/apiClient.ts rename to apiClient.ts diff --git a/pages/[network]/tablesheet/[name].tsx b/pages/[network]/tablesheet/[name].tsx index a7b2e5a..7367710 100644 --- a/pages/[network]/tablesheet/[name].tsx +++ b/pages/[network]/tablesheet/[name].tsx @@ -1,5 +1,5 @@ import type { NextPage, GetServerSideProps } from "next"; -import { getSheet } from "../../tools/apiClient"; +import { getSheet } from "../../../apiClient"; interface TableSheetPageProps { tableSheet: string | null; diff --git a/pages/[network]/tablesheet/index.tsx b/pages/[network]/tablesheet/index.tsx index f7d0dcc..e2be840 100644 --- a/pages/[network]/tablesheet/index.tsx +++ b/pages/[network]/tablesheet/index.tsx @@ -1,7 +1,7 @@ import type { NextPage, GetServerSideProps } from "next"; import Link from "next/link"; import { useRouter } from "next/router"; -import { getSheetNames } from "../../tools/apiClient"; +import { getSheetNames } from "../../../apiClient"; export const getServerSideProps: GetServerSideProps = async (context) => { const network = context.query.network as string;