From 4a779c42d39998b5bfa9344333dbd72276dfe741 Mon Sep 17 00:00:00 2001 From: ShivaBhattacharjee Date: Mon, 17 Jun 2024 12:53:09 +0530 Subject: [PATCH] fix: deno error --- public/sw.js.map | 2 +- src/app/[userid]/loading.tsx | 2 -- src/app/[userid]/page.tsx | 2 +- src/app/aniscan/loading.tsx | 2 -- src/app/bookmark/loading.tsx | 2 -- src/app/details/loading.tsx | 2 -- src/app/genres/[genreid]/loading.tsx | 2 -- src/app/genres/[genreid]/page.tsx | 2 -- src/app/genres/loading.tsx | 2 -- src/app/genres/page.tsx | 1 - src/app/history/loading.tsx | 2 -- src/app/loading.tsx | 1 - src/app/movie/loading.tsx | 2 -- src/app/movie/page.tsx | 2 -- src/app/popular/page.tsx | 2 -- src/app/register/verify-email/page.tsx | 1 - src/app/trending/loading.tsx | 2 -- src/app/trending/page.tsx | 2 -- src/app/waifu/[waifuid]/[animename]/loading.tsx | 2 -- src/app/waifu/loading.tsx | 2 -- src/app/waifu/page.tsx | 1 - src/app/watch/[streamid]/[animeid]/loading.tsx | 1 - src/app/watch/loading.tsx | 1 - src/components/Forbidden.tsx | 1 - src/components/buttons/Share.tsx | 1 - src/components/error/Contentnotfound.tsx | 1 - src/components/error/ServerError.tsx | 1 - src/components/loading/AiringScheduleLoading.tsx | 1 - src/components/loading/CharactersLoading.tsx | 2 -- src/components/loading/EditProfileLoading.tsx | 1 - src/components/loading/EpisodeLoading.tsx | 1 - src/components/loading/GenreLoading.tsx | 1 - src/components/loading/LoadingSkeleton.tsx | 1 - src/components/loading/ProfileLoading.tsx | 1 - src/components/loading/RandomAnimeLoading.tsx | 2 -- src/components/loading/RecommendedLoading.tsx | 2 -- src/components/loading/RelationLoading.tsx | 2 -- src/components/loading/SpinLoading.tsx | 3 --- src/components/loading/UpcomingSeasonLoading.tsx | 2 -- src/components/shared/AvatarModal.tsx | 2 +- src/components/shared/Footer.tsx | 1 - src/components/shared/RecommendedAnime.tsx | 2 -- src/components/shared/SearchResults.tsx | 2 -- src/components/shared/cards/RandomAnimeCard.tsx | 1 - src/components/shared/cards/RelationCard.tsx | 1 - src/components/shared/cards/SearchCards.tsx | 1 - src/components/shared/cards/characterCard.tsx | 2 -- src/components/shared/navigation/TopNavbar.tsx | 1 - src/components/shared/upcomingSeason/UpcomingSeason.tsx | 2 -- src/components/shared/upcomingSeason/UpcomingSeasonCard.tsx | 2 +- 50 files changed, 4 insertions(+), 76 deletions(-) diff --git a/public/sw.js.map b/public/sw.js.map index b9491d4..7301783 100644 --- a/public/sw.js.map +++ b/public/sw.js.map @@ -1 +1 @@ -{"version":3,"file":"sw.js","sources":["../../../../tmp/2a42ebf6f46ffa34cef74cdafcde8e53/sw.js"],"sourcesContent":["import {registerRoute as workbox_routing_registerRoute} from '/home/shiva/Desktop/AnimeTrix-next/node_modules/workbox-routing/registerRoute.mjs';\nimport {NetworkFirst as workbox_strategies_NetworkFirst} from '/home/shiva/Desktop/AnimeTrix-next/node_modules/workbox-strategies/NetworkFirst.mjs';\nimport {NetworkOnly as workbox_strategies_NetworkOnly} from '/home/shiva/Desktop/AnimeTrix-next/node_modules/workbox-strategies/NetworkOnly.mjs';\nimport {clientsClaim as workbox_core_clientsClaim} from '/home/shiva/Desktop/AnimeTrix-next/node_modules/workbox-core/clientsClaim.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\nimportScripts(\n \n);\n\n\n\n\n\n\n\nself.skipWaiting();\n\nworkbox_core_clientsClaim();\n\n\n\nworkbox_routing_registerRoute(\"/\", new workbox_strategies_NetworkFirst({ \"cacheName\":\"start-url\", plugins: [{ cacheWillUpdate: async ({ request, response, event, state }) => { if (response && response.type === 'opaqueredirect') { return new Response(response.body, { status: 200, statusText: 'OK', headers: response.headers }) } return response } }] }), 'GET');\nworkbox_routing_registerRoute(/.*/i, new workbox_strategies_NetworkOnly({ \"cacheName\":\"dev\", plugins: [] }), 'GET');\n\n\n\n\n"],"names":["importScripts","self","skipWaiting","workbox_core_clientsClaim","workbox_routing_registerRoute","workbox_strategies_NetworkFirst","plugins","cacheWillUpdate","request","response","event","state","type","Response","body","status","statusText","headers","workbox_strategies_NetworkOnly"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAa,EAEZ,CAAA;EAQDC,CAAI,CAAA,CAAA,CAAA,CAACC,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAA;AAElBC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAyB,EAAE,CAAA;AAI3BC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAA6B,CAAC,CAAA,CAAA,CAAG,CAAE,CAAA,CAAA,CAAA,CAAA,CAAIC,oBAA+B,CAAC,CAAA;EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,EAAC,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EAAEC,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,C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AK,CAAC,CAAA;;"} \ No newline at end of file +{"version":3,"file":"sw.js","sources":["../../../../tmp/3dbe6a549192c5061101d6e915a57a71/sw.js"],"sourcesContent":["import {registerRoute as workbox_routing_registerRoute} from '/home/shiva/Desktop/AnimeTrix-next/node_modules/workbox-routing/registerRoute.mjs';\nimport {NetworkFirst as workbox_strategies_NetworkFirst} from '/home/shiva/Desktop/AnimeTrix-next/node_modules/workbox-strategies/NetworkFirst.mjs';\nimport {NetworkOnly as workbox_strategies_NetworkOnly} from '/home/shiva/Desktop/AnimeTrix-next/node_modules/workbox-strategies/NetworkOnly.mjs';\nimport {clientsClaim as workbox_core_clientsClaim} from '/home/shiva/Desktop/AnimeTrix-next/node_modules/workbox-core/clientsClaim.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\nimportScripts(\n \n);\n\n\n\n\n\n\n\nself.skipWaiting();\n\nworkbox_core_clientsClaim();\n\n\n\nworkbox_routing_registerRoute(\"/\", new workbox_strategies_NetworkFirst({ \"cacheName\":\"start-url\", plugins: [{ cacheWillUpdate: async ({ request, response, event, state }) => { if (response && response.type === 'opaqueredirect') { return new Response(response.body, { status: 200, statusText: 'OK', headers: response.headers }) } return response } }] }), 'GET');\nworkbox_routing_registerRoute(/.*/i, new workbox_strategies_NetworkOnly({ \"cacheName\":\"dev\", plugins: [] }), 'GET');\n\n\n\n\n"],"names":["importScripts","self","skipWaiting","workbox_core_clientsClaim","workbox_routing_registerRoute","workbox_strategies_NetworkFirst","plugins","cacheWillUpdate","request","response","event","state","type","Response","body","status","statusText","headers","workbox_strategies_NetworkOnly"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBAA,CAAAA,CA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AA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAC,CAAA;EAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAOR,QAAQ,CAAA;EAAC,CAAA,CAAA,CAAA,CAAA,CAAA;KAAG,CAAA;AAAE,CAAA,CAAA,CAAC,CAAC,CAAA,CAAE,CAAK,CAAA,CAAA,CAAA,CAAA,CAAC,CAAA;AACxWL,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAA6B,CAAC,CAAA,CAAA,CAAA,CAAA,CAAK,CAAE,CAAA,CAAA,CAAA,CAAA,CAAIc,mBAA8B,CAAC,CAAA;EAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAW,EAAC,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA;EAAEZ,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAO,EAAE,CAAA,CAAA;EAAG,CAAC,CAAC,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,CAAC,CAAA;;"} \ No newline at end of file diff --git a/src/app/[userid]/loading.tsx b/src/app/[userid]/loading.tsx index 38e9b7a..7fcc4f8 100644 --- a/src/app/[userid]/loading.tsx +++ b/src/app/[userid]/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import SpinLoading from "@/components/loading/SpinLoading"; const loading = () => { diff --git a/src/app/[userid]/page.tsx b/src/app/[userid]/page.tsx index 3dda376..529530d 100644 --- a/src/app/[userid]/page.tsx +++ b/src/app/[userid]/page.tsx @@ -1,5 +1,5 @@ "use client"; -import React from "react"; + import { BadgeCheck, Quote, Share2 } from "lucide-react"; import { notFound } from "next/navigation"; diff --git a/src/app/aniscan/loading.tsx b/src/app/aniscan/loading.tsx index 4e4b269..7d12694 100644 --- a/src/app/aniscan/loading.tsx +++ b/src/app/aniscan/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import SpinLoading from "@/components/loading/SpinLoading"; const loading = () => { diff --git a/src/app/bookmark/loading.tsx b/src/app/bookmark/loading.tsx index 92fef96..e145c77 100644 --- a/src/app/bookmark/loading.tsx +++ b/src/app/bookmark/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import LoadingSkeleton from "@/components/loading/LoadingSkeleton"; const loading = () => { diff --git a/src/app/details/loading.tsx b/src/app/details/loading.tsx index ac710a1..4b89bb1 100644 --- a/src/app/details/loading.tsx +++ b/src/app/details/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import CharactersLoading from "@/components/loading/CharactersLoading"; import EpisodeLoading from "@/components/loading/EpisodeLoading"; import RecommendedLoading from "@/components/loading/RecommendedLoading"; diff --git a/src/app/genres/[genreid]/loading.tsx b/src/app/genres/[genreid]/loading.tsx index f637789..9b00f5b 100644 --- a/src/app/genres/[genreid]/loading.tsx +++ b/src/app/genres/[genreid]/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import LoadingSkeleton from "@/components/loading/LoadingSkeleton"; const loading = () => { diff --git a/src/app/genres/[genreid]/page.tsx b/src/app/genres/[genreid]/page.tsx index e1c2296..7bd0b3b 100644 --- a/src/app/genres/[genreid]/page.tsx +++ b/src/app/genres/[genreid]/page.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import ServerError from "@/components/error/ServerError"; import VerticalCards from "@/components/shared/cards/VerticalCards"; import { getGenre } from "@/lib/AnimeFetch"; diff --git a/src/app/genres/loading.tsx b/src/app/genres/loading.tsx index 70b371a..12a11df 100644 --- a/src/app/genres/loading.tsx +++ b/src/app/genres/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import GenreLoading from "@/components/loading/GenreLoading"; const loading = () => { diff --git a/src/app/genres/page.tsx b/src/app/genres/page.tsx index 172b536..8e6683b 100644 --- a/src/app/genres/page.tsx +++ b/src/app/genres/page.tsx @@ -1,4 +1,3 @@ -import React from "react"; import Link from "next/link"; const genres = [ { diff --git a/src/app/history/loading.tsx b/src/app/history/loading.tsx index 100c097..e0a442e 100644 --- a/src/app/history/loading.tsx +++ b/src/app/history/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import LoadingSkeleton from "@/components/loading/LoadingSkeleton"; const loading = () => { diff --git a/src/app/loading.tsx b/src/app/loading.tsx index ceeaebc..b1646cf 100644 --- a/src/app/loading.tsx +++ b/src/app/loading.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { ChevronRight } from "lucide-react"; import Link from "next/link"; diff --git a/src/app/movie/loading.tsx b/src/app/movie/loading.tsx index 83caa7b..25edde6 100644 --- a/src/app/movie/loading.tsx +++ b/src/app/movie/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import LoadingSkeleton from "@/components/loading/LoadingSkeleton"; const loading = () => { diff --git a/src/app/movie/page.tsx b/src/app/movie/page.tsx index 5c8d370..4f1e6af 100644 --- a/src/app/movie/page.tsx +++ b/src/app/movie/page.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import ServerError from "@/components/error/ServerError"; import VerticalCards from "@/components/shared/cards/VerticalCards"; import { getAnimeMovies } from "@/lib/AnimeFetch"; diff --git a/src/app/popular/page.tsx b/src/app/popular/page.tsx index 8c4f24a..685ee46 100644 --- a/src/app/popular/page.tsx +++ b/src/app/popular/page.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import ServerError from "@/components/error/ServerError"; import VerticalCards from "@/components/shared/cards/VerticalCards"; import { getPopularAnime } from "@/lib/AnimeFetch"; diff --git a/src/app/register/verify-email/page.tsx b/src/app/register/verify-email/page.tsx index fe48e2d..570b7f9 100644 --- a/src/app/register/verify-email/page.tsx +++ b/src/app/register/verify-email/page.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { MailOpen } from "lucide-react"; const page = () => { diff --git a/src/app/trending/loading.tsx b/src/app/trending/loading.tsx index f347b19..3e1fa48 100644 --- a/src/app/trending/loading.tsx +++ b/src/app/trending/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import LoadingSkeleton from "@/components/loading/LoadingSkeleton"; const loading = () => { diff --git a/src/app/trending/page.tsx b/src/app/trending/page.tsx index 9fba0a7..0da1c6a 100644 --- a/src/app/trending/page.tsx +++ b/src/app/trending/page.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import ServerError from "@/components/error/ServerError"; import VerticalCards from "@/components/shared/cards/VerticalCards"; import { getTrendingAnime } from "@/lib/AnimeFetch"; diff --git a/src/app/waifu/[waifuid]/[animename]/loading.tsx b/src/app/waifu/[waifuid]/[animename]/loading.tsx index 1f2927d..6b5d2fc 100644 --- a/src/app/waifu/[waifuid]/[animename]/loading.tsx +++ b/src/app/waifu/[waifuid]/[animename]/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import SpinLoading from "@/components/loading/SpinLoading"; const loading = () => { diff --git a/src/app/waifu/loading.tsx b/src/app/waifu/loading.tsx index 1f2927d..6b5d2fc 100644 --- a/src/app/waifu/loading.tsx +++ b/src/app/waifu/loading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import SpinLoading from "@/components/loading/SpinLoading"; const loading = () => { diff --git a/src/app/waifu/page.tsx b/src/app/waifu/page.tsx index 16c94a8..e3e945e 100644 --- a/src/app/waifu/page.tsx +++ b/src/app/waifu/page.tsx @@ -1,4 +1,3 @@ -import React from "react"; import Link from "next/link"; const waifus = [ { diff --git a/src/app/watch/[streamid]/[animeid]/loading.tsx b/src/app/watch/[streamid]/[animeid]/loading.tsx index e8b77fe..aca195c 100644 --- a/src/app/watch/[streamid]/[animeid]/loading.tsx +++ b/src/app/watch/[streamid]/[animeid]/loading.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { Download, Flag, Share2 } from "lucide-react"; import CharactersLoading from "@/components/loading/CharactersLoading"; diff --git a/src/app/watch/loading.tsx b/src/app/watch/loading.tsx index e8b77fe..aca195c 100644 --- a/src/app/watch/loading.tsx +++ b/src/app/watch/loading.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { Download, Flag, Share2 } from "lucide-react"; import CharactersLoading from "@/components/loading/CharactersLoading"; diff --git a/src/components/Forbidden.tsx b/src/components/Forbidden.tsx index f7eaa41..d5c43d5 100644 --- a/src/components/Forbidden.tsx +++ b/src/components/Forbidden.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { Ghost, KeyRound, Lock } from "lucide-react"; const Forbidden = () => { diff --git a/src/components/buttons/Share.tsx b/src/components/buttons/Share.tsx index 142c558..dff05b5 100644 --- a/src/components/buttons/Share.tsx +++ b/src/components/buttons/Share.tsx @@ -12,7 +12,6 @@ declare global { const globalThis: CustomGlobalThis; } -import React from "react"; import { Share2 } from "lucide-react"; import Toast from "@/utils/toast"; diff --git a/src/components/error/Contentnotfound.tsx b/src/components/error/Contentnotfound.tsx index 9670e26..9d0c2d6 100644 --- a/src/components/error/Contentnotfound.tsx +++ b/src/components/error/Contentnotfound.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { Frown } from "lucide-react"; interface ContentNotFoundProps { diff --git a/src/components/error/ServerError.tsx b/src/components/error/ServerError.tsx index 47d5e5f..7951431 100644 --- a/src/components/error/ServerError.tsx +++ b/src/components/error/ServerError.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { ServerCrash } from "lucide-react"; const ServerError = () => { return ( diff --git a/src/components/loading/AiringScheduleLoading.tsx b/src/components/loading/AiringScheduleLoading.tsx index be312db..47238ea 100644 --- a/src/components/loading/AiringScheduleLoading.tsx +++ b/src/components/loading/AiringScheduleLoading.tsx @@ -1,5 +1,4 @@ "use client"; -import React from "react"; import SpinLoading from "./SpinLoading"; diff --git a/src/components/loading/CharactersLoading.tsx b/src/components/loading/CharactersLoading.tsx index 10e432e..13356a1 100644 --- a/src/components/loading/CharactersLoading.tsx +++ b/src/components/loading/CharactersLoading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - const CharactersLoading = () => { return ( <> diff --git a/src/components/loading/EditProfileLoading.tsx b/src/components/loading/EditProfileLoading.tsx index f70edd3..abca7a8 100644 --- a/src/components/loading/EditProfileLoading.tsx +++ b/src/components/loading/EditProfileLoading.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { Camera, Check } from "lucide-react"; const EditProfileLoading = () => { diff --git a/src/components/loading/EpisodeLoading.tsx b/src/components/loading/EpisodeLoading.tsx index 8393dbd..f0857bb 100644 --- a/src/components/loading/EpisodeLoading.tsx +++ b/src/components/loading/EpisodeLoading.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { ArrowUpNarrowWide, RefreshCcw } from "lucide-react"; const EpisodeLoading = () => { diff --git a/src/components/loading/GenreLoading.tsx b/src/components/loading/GenreLoading.tsx index 003819c..425c93c 100644 --- a/src/components/loading/GenreLoading.tsx +++ b/src/components/loading/GenreLoading.tsx @@ -1,4 +1,3 @@ -import React from "react"; const genres = [ { title: "Action", diff --git a/src/components/loading/LoadingSkeleton.tsx b/src/components/loading/LoadingSkeleton.tsx index eae5cf2..82ebb7f 100644 --- a/src/components/loading/LoadingSkeleton.tsx +++ b/src/components/loading/LoadingSkeleton.tsx @@ -1,4 +1,3 @@ -import React from "react"; interface LoadingSkeletonProps { title: string; } diff --git a/src/components/loading/ProfileLoading.tsx b/src/components/loading/ProfileLoading.tsx index 8a96acf..005b962 100644 --- a/src/components/loading/ProfileLoading.tsx +++ b/src/components/loading/ProfileLoading.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { LogOut } from "lucide-react"; import Link from "next/link"; diff --git a/src/components/loading/RandomAnimeLoading.tsx b/src/components/loading/RandomAnimeLoading.tsx index 08b1adf..bf14742 100644 --- a/src/components/loading/RandomAnimeLoading.tsx +++ b/src/components/loading/RandomAnimeLoading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - const RandomAnimeLoading = () => { return (
diff --git a/src/components/loading/RecommendedLoading.tsx b/src/components/loading/RecommendedLoading.tsx index 92d4772..dd70a10 100644 --- a/src/components/loading/RecommendedLoading.tsx +++ b/src/components/loading/RecommendedLoading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import CardSkeleton from "./CardSkeleton"; const RecommendedLoading = () => { diff --git a/src/components/loading/RelationLoading.tsx b/src/components/loading/RelationLoading.tsx index 055b673..ac33dbe 100644 --- a/src/components/loading/RelationLoading.tsx +++ b/src/components/loading/RelationLoading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - const RelationLoading = () => { return (
diff --git a/src/components/loading/SpinLoading.tsx b/src/components/loading/SpinLoading.tsx index 76e9f0b..c2b66c5 100644 --- a/src/components/loading/SpinLoading.tsx +++ b/src/components/loading/SpinLoading.tsx @@ -1,6 +1,3 @@ -"use client"; -import React from "react"; - const SpinLoading = () => { return (
diff --git a/src/components/loading/UpcomingSeasonLoading.tsx b/src/components/loading/UpcomingSeasonLoading.tsx index ca275b2..a389066 100644 --- a/src/components/loading/UpcomingSeasonLoading.tsx +++ b/src/components/loading/UpcomingSeasonLoading.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import SpinLoading from "./SpinLoading"; export const UpcomingSeasonLoading = () => { diff --git a/src/components/shared/AvatarModal.tsx b/src/components/shared/AvatarModal.tsx index 015e667..c61225b 100644 --- a/src/components/shared/AvatarModal.tsx +++ b/src/components/shared/AvatarModal.tsx @@ -1,5 +1,5 @@ "use client"; -import React from "react"; + import { ArrowLeft, UserRoundCog } from "lucide-react"; import { ProfiePicture } from "@/utils/ProfilePicture"; diff --git a/src/components/shared/Footer.tsx b/src/components/shared/Footer.tsx index f1d1265..b4c81bd 100644 --- a/src/components/shared/Footer.tsx +++ b/src/components/shared/Footer.tsx @@ -1,6 +1,5 @@ "use client"; -import React from "react"; import { Github, Instagram } from "lucide-react"; import { usePathname } from "next/navigation"; diff --git a/src/components/shared/RecommendedAnime.tsx b/src/components/shared/RecommendedAnime.tsx index 352497b..8d9326f 100644 --- a/src/components/shared/RecommendedAnime.tsx +++ b/src/components/shared/RecommendedAnime.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import ContentNotFound from "../error/Contentnotfound"; import Cards from "./cards/Cards"; diff --git a/src/components/shared/SearchResults.tsx b/src/components/shared/SearchResults.tsx index a6e0c89..fd99e4a 100644 --- a/src/components/shared/SearchResults.tsx +++ b/src/components/shared/SearchResults.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import SearchCards from "./cards/SearchCards"; import { getSearchResults } from "@/lib/AnimeFetch"; diff --git a/src/components/shared/cards/RandomAnimeCard.tsx b/src/components/shared/cards/RandomAnimeCard.tsx index 1c60346..b8bd996 100644 --- a/src/components/shared/cards/RandomAnimeCard.tsx +++ b/src/components/shared/cards/RandomAnimeCard.tsx @@ -1,4 +1,3 @@ -import React from "react"; import Link from "next/link"; import ReloadFunc from "../../error/ReloadFunc"; diff --git a/src/components/shared/cards/RelationCard.tsx b/src/components/shared/cards/RelationCard.tsx index d17d1ee..94855c3 100644 --- a/src/components/shared/cards/RelationCard.tsx +++ b/src/components/shared/cards/RelationCard.tsx @@ -1,4 +1,3 @@ -import React from "react"; import Link from "next/link"; import { getAnimeDetails } from "@/lib/AnimeFetch"; diff --git a/src/components/shared/cards/SearchCards.tsx b/src/components/shared/cards/SearchCards.tsx index dd2f1cc..6f3b98f 100644 --- a/src/components/shared/cards/SearchCards.tsx +++ b/src/components/shared/cards/SearchCards.tsx @@ -1,6 +1,5 @@ "use client"; -import React from "react"; import { ArrowRight } from "lucide-react"; import Link from "next/link"; diff --git a/src/components/shared/cards/characterCard.tsx b/src/components/shared/cards/characterCard.tsx index b22dec3..12ce311 100644 --- a/src/components/shared/cards/characterCard.tsx +++ b/src/components/shared/cards/characterCard.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import ContentNotFound from "@/components/error/Contentnotfound"; import Anime from "@/types/animetypes"; diff --git a/src/components/shared/navigation/TopNavbar.tsx b/src/components/shared/navigation/TopNavbar.tsx index dfdea13..15cb888 100644 --- a/src/components/shared/navigation/TopNavbar.tsx +++ b/src/components/shared/navigation/TopNavbar.tsx @@ -1,4 +1,3 @@ -import React from "react"; import Link from "next/link"; import SearchModal from "../SearchModal"; diff --git a/src/components/shared/upcomingSeason/UpcomingSeason.tsx b/src/components/shared/upcomingSeason/UpcomingSeason.tsx index 6b1518d..dd84126 100644 --- a/src/components/shared/upcomingSeason/UpcomingSeason.tsx +++ b/src/components/shared/upcomingSeason/UpcomingSeason.tsx @@ -1,5 +1,3 @@ -import React from "react"; - import UpcomingSeasonCard from "./UpcomingSeasonCard"; import { getCurrentYear, getUpcomingData } from "@/lib/AnimeFetch"; diff --git a/src/components/shared/upcomingSeason/UpcomingSeasonCard.tsx b/src/components/shared/upcomingSeason/UpcomingSeasonCard.tsx index 8ec6a19..d94712d 100644 --- a/src/components/shared/upcomingSeason/UpcomingSeasonCard.tsx +++ b/src/components/shared/upcomingSeason/UpcomingSeasonCard.tsx @@ -1,5 +1,5 @@ "use client"; -import React from "react"; + import Link from "next/link"; import ReloadFunc from "../../error/ReloadFunc";