diff --git a/components/SortDropdown.tsx b/components/SortDropdown.tsx
index e125e6b..3f57e9f 100644
--- a/components/SortDropdown.tsx
+++ b/components/SortDropdown.tsx
@@ -1,7 +1,5 @@
import React, { Dispatch, SetStateAction } from "react";
import { Sort } from "@/types/global";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { faSort } from "@fortawesome/free-solid-svg-icons";
type Props = {
sortBy: Sort;
diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx
index 352cff9..1c65f33 100644
--- a/pages/dashboard.tsx
+++ b/pages/dashboard.tsx
@@ -2,7 +2,6 @@ import useLinkStore from "@/store/links";
import useCollectionStore from "@/store/collections";
import useTagStore from "@/store/tags";
import MainLayout from "@/layouts/MainLayout";
-import LinkCard from "@/components/LinkCard";
import LinkCard from "@/components/LinkViews/LinkComponents/LinkCard";
import { useEffect, useState } from "react";
import useLinks from "@/hooks/useLinks";
@@ -95,9 +94,10 @@ export default function Dashboard() {
return (
-
+
-
+
- {false && links[0] ? (
+ {links[0] ? (
{links.slice(0, showLinks).map((e, i) => (
-
+
))}
@@ -186,7 +186,8 @@ export default function Dashboard() {
Import From
-
+
-
@@ -281,7 +282,7 @@ export default function Dashboard() {
{newLinkModal ? (
- setNewLinkModal(false)} />
+ setNewLinkModal(false)}/>
) : undefined}
);
diff --git a/pages/links/index.tsx b/pages/links/index.tsx
index 72e455f..873bb6f 100644
--- a/pages/links/index.tsx
+++ b/pages/links/index.tsx
@@ -1,19 +1,13 @@
-import LinkCard from "@/components/LinkViews/LinkComponents/LinkCard";
import NoLinksFound from "@/components/NoLinksFound";
import SortDropdown from "@/components/SortDropdown";
import useLinks from "@/hooks/useLinks";
import MainLayout from "@/layouts/MainLayout";
import useLinkStore from "@/store/links";
-import { Sort } from "@/types/global";
import React, { useState } from "react";
import PageHeader from "@/components/PageHeader";
import { Sort, ViewMode } from "@/types/global";
-import { faLink } from "@fortawesome/free-solid-svg-icons";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { useState } from "react";
import ViewDropdown from "@/components/ViewDropdown";
import DefaultView from "@/components/LinkViews/DefaultView";
-import GridView from "@/components/LinkViews/GridView";
import ListView from "@/components/LinkViews/ListView";
@@ -44,17 +38,16 @@ export default function Links() {
title={"All Links"}
description={"Links from every Collections"}
/>
-
-
-
-
-
+
+
+
+
{links[0] ? (
-
+
) : (
-
+
)}
diff --git a/pages/links/pinned.tsx b/pages/links/pinned.tsx
index 81a7252..4d8cb15 100644
--- a/pages/links/pinned.tsx
+++ b/pages/links/pinned.tsx
@@ -1,18 +1,12 @@
-import LinkCard from "@/components/LinkViews/LinkComponents/LinkCard";
import SortDropdown from "@/components/SortDropdown";
import useLinks from "@/hooks/useLinks";
import MainLayout from "@/layouts/MainLayout";
import useLinkStore from "@/store/links";
-import { Sort } from "@/types/global";
import React, { useState } from "react";
import PageHeader from "@/components/PageHeader";
import { Sort, ViewMode } from "@/types/global";
-import { faThumbTack } from "@fortawesome/free-solid-svg-icons";
-import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { useState } from "react";
import ViewDropdown from "@/components/ViewDropdown";
import DefaultView from "@/components/LinkViews/DefaultView";
-import GridView from "@/components/LinkViews/GridView";
import ListView from "@/components/LinkViews/ListView";
export default function PinnedLinks() {
@@ -44,12 +38,12 @@ export default function PinnedLinks() {
/>
{links.some((e) => e.pinnedBy && e.pinnedBy[0]) ? (
-
+
) : (