javascript – Can’t get response in hook

I’m new to javascript and I have an issue with setting hook var to the response of request.
Here is request:

export const getAdminUsers = async (offset = 10, page = 0) => {
    try {
        const res = await fetch(`${_apiBase}/api/v1/admin/user/?page=${page}&offset=${offset}`, {
            method: "GET",
            headers: {
                Authorization: `bearer ${token}`
            }
        })
        return await res.json()
    } catch (error) {
        console.log(error);
    }
}

Here is useState and useEffect hook:

    const (adminUsers, setAdminUsers) = useState(());
    useEffect(
            getAdminUsers().then(res=>setAdminUsers(res))

    , ())

Didn’t find anything helpful to solve this.