/* eslint-disable */ "use client"; import Link from "next/link"; import Button from "@/lib/components/ui/Button"; import Card from "@/lib/components/ui/Card"; import PageHeading from "@/lib/components/ui/PageHeading"; import { useLogout } from "./hooks/useLogout"; import { useTranslation } from "react-i18next"; import { Suspense } from "react"; export default function Logout() { const {t, i18n} = useTranslation(["translation","logout"]); const { handleLogout, isPending } = useLogout(); function Logout() { return ( {t("areYouSure",{ ns: "logout" })} {t("cancel",{ ns: "logout" })} handleLogout()} data-testid="logout-button" > {t("logoutButton")} ); } return ( ) }