Fix TypeScript unused variable errors
This commit is contained in:
@@ -2,7 +2,7 @@ import { Link, Outlet, useNavigate } from 'react-router-dom'
|
||||
import { useAuth } from '../context/AuthContext'
|
||||
|
||||
export function AdminLayout() {
|
||||
const { user, logout } = useAuth()
|
||||
const { logout } = useAuth()
|
||||
const navigate = useNavigate()
|
||||
|
||||
async function handleLogout() {
|
||||
|
||||
Reference in New Issue
Block a user