From ad77f2c8195a6de7ab4f039e15b349d10f93b07e Mon Sep 17 00:00:00 2001 From: Fricoben <78437165+fricoben@users.noreply.github.com> Date: Thu, 7 Nov 2024 08:10:28 +0000 Subject: [PATCH] ref: change loading folder (#935) * ref: change loading folder * fix: build --- app/admin/quests/page.tsx | 3 +-- components/discover/claimModal.tsx | 2 +- {app => components/skeletons}/loading.tsx | 0 3 files changed, 2 insertions(+), 3 deletions(-) rename {app => components/skeletons}/loading.tsx (100%) diff --git a/app/admin/quests/page.tsx b/app/admin/quests/page.tsx index 365be827..c3bfa05b 100644 --- a/app/admin/quests/page.tsx +++ b/app/admin/quests/page.tsx @@ -17,8 +17,7 @@ import homePagestyles from "@styles/Home.module.css"; import { a11yProps } from "@components/UI/tabs/a11y"; import { CustomTabPanel } from "@components/UI/tabs/customTab"; import { Tab, Tabs } from "@mui/material"; - -import Loading from "@app/loading"; +import Loading from "@components/skeletons/loading"; export default function Page() { const router = useRouter(); diff --git a/components/discover/claimModal.tsx b/components/discover/claimModal.tsx index 167ef51d..70cfc173 100644 --- a/components/discover/claimModal.tsx +++ b/components/discover/claimModal.tsx @@ -9,7 +9,7 @@ import { TEXT_TYPE } from "@constants/typography"; import AppIcon from "./appIcon"; import TokenIcon from "./tokenIcon"; import { useNotification } from "@context/NotificationProvider"; -import Loading from "@app/loading"; +import Loading from "@components/skeletons/loading"; import { useAccount, useSendTransaction } from "@starknet-react/core"; import { RewardsPerProtocol } from "../../types/backTypes"; import { getRewards } from "@services/apiService"; diff --git a/app/loading.tsx b/components/skeletons/loading.tsx similarity index 100% rename from app/loading.tsx rename to components/skeletons/loading.tsx