diff --git a/components/LinkList.tsx b/components/LinkList.tsx index fa89ef9..916a568 100644 --- a/components/LinkList.tsx +++ b/components/LinkList.tsx @@ -107,10 +107,10 @@ export default function ({ link, count }: Props) {
-

{collection.name}

+

{collection?.name}

diff --git a/components/Modal/LinkModal.tsx b/components/Modal/LinkModal.tsx index 8776580..cbe3b9f 100644 --- a/components/Modal/LinkModal.tsx +++ b/components/Modal/LinkModal.tsx @@ -1,7 +1,6 @@ import React, { useEffect, useState } from "react"; import CollectionSelection from "@/components/InputSelect/CollectionSelection"; import TagSelection from "@/components/InputSelect/TagSelection"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { LinkIncludingCollectionAndTags } from "@/types/global"; import { faPenToSquare } from "@fortawesome/free-regular-svg-icons"; import useLinkStore from "@/store/links"; diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 7db360a..23f3652 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -80,20 +80,30 @@ export default function () { src={account.profilePic} className="h-10 w-10 shadow pointer-events-none rounded-full border-[3px] border-sky-500 group-hover:border-sky-400 duration-100" alt="" + id="profile-dropdown" /> ) : ( )} -
-
-

- {account.name} -

- -
+
+

+ {account.name} +

+
{profileDropdown ? ( diff --git a/pages/collections/index.tsx b/pages/collections/index.tsx index 0f5044b..70d7fec 100644 --- a/pages/collections/index.tsx +++ b/pages/collections/index.tsx @@ -84,7 +84,7 @@ export default function () {

All Collections diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx index ba9ffca..3df1235 100644 --- a/pages/dashboard.tsx +++ b/pages/dashboard.tsx @@ -39,7 +39,7 @@ export default function () {

Dashboard diff --git a/pages/links.tsx b/pages/links.tsx index 0af609c..c7fa67f 100644 --- a/pages/links.tsx +++ b/pages/links.tsx @@ -55,7 +55,7 @@ export default function Links() {

All Links diff --git a/pages/search/[query].tsx b/pages/search/[query].tsx index 9277b63..30a33c1 100644 --- a/pages/search/[query].tsx +++ b/pages/search/[query].tsx @@ -74,7 +74,7 @@ export default function Links() {

Search Results diff --git a/pages/search/index.tsx b/pages/search/index.tsx index 9277b63..30a33c1 100644 --- a/pages/search/index.tsx +++ b/pages/search/index.tsx @@ -74,7 +74,7 @@ export default function Links() {

Search Results