diff --git a/components/RankItem.tsx b/components/RankItem.tsx index e40394546..8deb106a6 100644 --- a/components/RankItem.tsx +++ b/components/RankItem.tsx @@ -1,6 +1,6 @@ import React from "react"; import styles from "../styles/RankList.module.css"; -import { Rank } from "./types"; +import { Rank } from "../types/types"; type RankType = { user: Rank; diff --git a/components/RankList.tsx b/components/RankList.tsx index 681859888..07bfb61e6 100644 --- a/components/RankList.tsx +++ b/components/RankList.tsx @@ -1,6 +1,6 @@ import React from "react"; import styles from "../styles/RankList.module.css"; -import { Rank } from "./types"; +import { Rank } from "../types/types"; import RankItem from "./RankItem"; type RankType = { diff --git a/components/types.ts b/types/types.ts similarity index 100% rename from components/types.ts rename to types/types.ts