diff --git a/app/(app)/articles/_client.tsx b/app/(app)/articles/_client.tsx
index 73e21cd0..1eea1c83 100644
--- a/app/(app)/articles/_client.tsx
+++ b/app/(app)/articles/_client.tsx
@@ -1,6 +1,6 @@
"use client";
-import { Children, Fragment, useEffect } from "react";
+import { Fragment, useEffect } from "react";
import { TagIcon } from "@heroicons/react/20/solid";
import ArticlePreview from "@/components/ArticlePreview/ArticlePreview";
import ArticleLoading from "@/components/ArticlePreview/ArticleLoading";
@@ -105,11 +105,7 @@ const ArticlesPage = () => {
)}
{status === "pending" &&
- Children.toArray(
- Array.from({ length: 7 }, () => {
- return
No new notifications. ✅{" "}
diff --git a/app/(app)/saved/_client.tsx b/app/(app)/saved/_client.tsx
index 042a2a32..7a5a68c0 100644
--- a/app/(app)/saved/_client.tsx
+++ b/app/(app)/saved/_client.tsx
@@ -1,6 +1,5 @@
"use client";
-import { Children } from "react";
import ArticlePreview from "@/components/ArticlePreview/ArticlePreview";
import { api } from "@/server/trpc/react";
import PageHeading from "@/components/PageHeading/PageHeading";
@@ -33,11 +32,7 @@ const SavedPosts = () => {
Something went wrong fetching your saved posts... Refresh the page. diff --git a/components/SideBar/SideBarSavedPosts.tsx b/components/SideBar/SideBarSavedPosts.tsx index 3c152be8..fca498a2 100644 --- a/components/SideBar/SideBarSavedPosts.tsx +++ b/components/SideBar/SideBarSavedPosts.tsx @@ -1,6 +1,6 @@ "use client"; import { api } from "@/server/trpc/react"; -import React, { Children } from "react"; +import React from "react"; import SideBarSavedArticlePreview from "./SideBarSavedArticlePreview"; import Link from "next/link"; @@ -22,11 +22,9 @@ export default React.memo(function SideBarSavedPosts() {
Something went wrong fetching your saved posts... Refresh the page. diff --git a/components/TrendingPosts/TrendingPostsLoading.tsx b/components/TrendingPosts/TrendingPostsLoading.tsx index bc4e0242..27d91932 100644 --- a/components/TrendingPosts/TrendingPostsLoading.tsx +++ b/components/TrendingPosts/TrendingPostsLoading.tsx @@ -1,14 +1,11 @@ -import { Children } from "react"; import ArticleLoading from "@/components/ArticlePreview/ArticleLoading"; function LoadingTrendingPosts() { return (