fix: eslint error

This commit is contained in:
ferdiansyah783
2025-08-06 14:41:23 +07:00
parent 5f2bddd003
commit 5f24ec7899
51 changed files with 655 additions and 764 deletions
@@ -48,7 +48,7 @@ const UserDropdown = () => {
// Refs
const anchorRef = useRef<HTMLDivElement>(null)
const { mutate } = useAuthMutation.logout()
const { logout } = useAuthMutation()
// Hooks
const router = useRouter()
@@ -75,7 +75,7 @@ const UserDropdown = () => {
try {
// Sign out from the app
// await signOut({ callbackUrl: process.env.NEXT_PUBLIC_APP_URL })
mutate()
logout.mutate()
router.push(getLocalizedUrl('/login', locale as Locale))
} catch (error) {
console.error(error)