better looking dropdown component

This commit is contained in:
Daniel
2023-05-28 06:51:35 +03:30
parent d2051a67ab
commit 577b279108
7 changed files with 51 additions and 61 deletions
-4
View File
@@ -8,8 +8,6 @@ import { signOut } from "next-auth/react";
import {
faPlus,
faCircleUser,
faSliders,
faArrowRightFromBracket,
faChevronDown,
faBars,
} from "@fortawesome/free-solid-svg-icons";
@@ -104,7 +102,6 @@ export default function () {
items={[
{
name: "Settings",
icon: <FontAwesomeIcon icon={faSliders} />,
onClick: () => {
toggleSettingsModal();
setProfileDropdown(!profileDropdown);
@@ -112,7 +109,6 @@ export default function () {
},
{
name: "Logout",
icon: <FontAwesomeIcon icon={faArrowRightFromBracket} />,
onClick: () => {
signOut();
setProfileDropdown(!profileDropdown);