From f9ad0b47d6164e6589f4b6720460d75fb247ff8d Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:58:02 +0200 Subject: [PATCH] fix: file name conflicts fixed --- src/app/[pohid]/page.tsx | 2 +- src/app/page.tsx | 2 +- src/components/{dropdown placeholder => Dropdown}/Item.tsx | 0 src/components/{dropdown placeholder => Dropdown}/Menu.tsx | 0 src/components/{request placeholder => Request}/Card.tsx | 0 src/components/{request placeholder => Request}/Grid.tsx | 4 ++-- 6 files changed, 4 insertions(+), 4 deletions(-) rename src/components/{dropdown placeholder => Dropdown}/Item.tsx (100%) rename src/components/{dropdown placeholder => Dropdown}/Menu.tsx (100%) rename src/components/{request placeholder => Request}/Card.tsx (100%) rename src/components/{request placeholder => Request}/Grid.tsx (98%) diff --git a/src/app/[pohid]/page.tsx b/src/app/[pohid]/page.tsx index 0de027c..55bd948 100644 --- a/src/app/[pohid]/page.tsx +++ b/src/app/[pohid]/page.tsx @@ -7,7 +7,7 @@ import Link from "next/link"; import { getHumanityData } from "data/humanity"; import { getContractDataAllChains } from "data/contract"; import ExternalLink from "components/ExternalLink"; -import Card from "components/request placeholder/Card"; +import Card from "components/Request/Card"; import Image from "next/image"; import Revoke from "./Revoke"; import { getArbitrationCost } from "data/costs"; diff --git a/src/app/page.tsx b/src/app/page.tsx index d3fc347..b97a97a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,4 @@ -import RequestsGrid from "../components/request placeholder/Grid"; +import RequestsGrid from "../components/Request/Grid"; export default async function Home() { return ( diff --git a/src/components/dropdown placeholder/Item.tsx b/src/components/Dropdown/Item.tsx similarity index 100% rename from src/components/dropdown placeholder/Item.tsx rename to src/components/Dropdown/Item.tsx diff --git a/src/components/dropdown placeholder/Menu.tsx b/src/components/Dropdown/Menu.tsx similarity index 100% rename from src/components/dropdown placeholder/Menu.tsx rename to src/components/Dropdown/Menu.tsx diff --git a/src/components/request placeholder/Card.tsx b/src/components/Request/Card.tsx similarity index 100% rename from src/components/request placeholder/Card.tsx rename to src/components/Request/Card.tsx diff --git a/src/components/request placeholder/Grid.tsx b/src/components/Request/Grid.tsx similarity index 98% rename from src/components/request placeholder/Grid.tsx rename to src/components/Request/Grid.tsx index af19665..74e67e7 100644 --- a/src/components/request placeholder/Grid.tsx +++ b/src/components/Request/Grid.tsx @@ -20,8 +20,8 @@ import { requestStatus, RequestStatus, statusFilters } from "config/requests"; import { useEffect, useState } from "react"; import { camelToTitle } from "utils/case"; import Card from "./Card"; -import DropdownItem from "components/dropdown placeholder/Item"; -import Dropdown from "components/dropdown placeholder/Menu"; +import DropdownItem from "components/Dropdown/Item"; +import Dropdown from "components/Dropdown/Menu"; import { useLoading } from "hooks/useLoading"; import { observable } from "@legendapp/state"; import { enableReactUse } from "@legendapp/state/config/enableReactUse";