Fix logout url
This commit is contained in:
parent
a48e4353a5
commit
667e06b198
|
|
@ -1,7 +1,5 @@
|
||||||
//TODO: Change into server action
|
//TODO: Change into server action
|
||||||
import { ThemeIconProps } from "@mantine/core";
|
import { TbLogout } from "react-icons/tb";
|
||||||
import React from "react";
|
|
||||||
import { TbLogout, TbSettings } from "react-icons/tb";
|
|
||||||
import { UserMenuItem } from "../types/UserMenuItem";
|
import { UserMenuItem } from "../types/UserMenuItem";
|
||||||
|
|
||||||
// This function retrieves the list of user menu items for use in the application's header.
|
// This function retrieves the list of user menu items for use in the application's header.
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,11 @@ import {
|
||||||
Text,
|
Text,
|
||||||
rem,
|
rem,
|
||||||
} from "@mantine/core";
|
} from "@mantine/core";
|
||||||
import { useDisclosure } from "@mantine/hooks";
|
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import logo from "@/assets/logos/logo-dsg.png";
|
import logo from "@/assets/logos/logo-dsg.png";
|
||||||
import cx from "clsx";
|
import cx from "clsx";
|
||||||
import classNames from "./styles/appHeader.module.css";
|
import classNames from "./styles/appHeader.module.css";
|
||||||
import { TbChevronDown, TbLogout, TbSettings } from "react-icons/tb";
|
import { TbChevronDown } from "react-icons/tb";
|
||||||
import getUserMenus from "../actions/getUserMenus";
|
import getUserMenus from "../actions/getUserMenus";
|
||||||
import { useAuth } from "@/modules/auth/contexts/AuthContext";
|
import { useAuth } from "@/modules/auth/contexts/AuthContext";
|
||||||
import UserMenuItem from "./UserMenuItem";
|
import UserMenuItem from "./UserMenuItem";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user