Skip to content

Commit

Permalink
fix: move non-react code to outside of pages directory
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed May 14, 2024
1 parent 3572225 commit 089dbc2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion pages/[network]/tablesheet/[name].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { NextPage, GetServerSideProps } from "next";
import { getSheet } from "../../tools/apiClient";
import { getSheet } from "../../../apiClient";

interface TableSheetPageProps {
tableSheet: string | null;
Expand Down
2 changes: 1 addition & 1 deletion pages/[network]/tablesheet/index.tsx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 089dbc2

Please sign in to comment.