From 415c7e8b62b60d24fc0f79ff0de39861b1bfd671 Mon Sep 17 00:00:00 2001 From: KimDae-hyun Date: Fri, 3 Jun 2022 15:37:10 +0900 Subject: [PATCH] =?UTF-8?q?[Refactor]=20types=20=EC=9C=84=EC=B9=98=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20#3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/RankItem.tsx | 2 +- components/RankList.tsx | 2 +- {components => types}/types.ts | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {components => types}/types.ts (100%) 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