import { initialUser } from '../../api/user'
import { User } from '../../api/user/types'
import { UseFetchReturn } from '../useFetch'

const useUser = (): UseFetchReturn<User> => (
    // useFetch(
    //     composeUserUrl(getToken()),
    //     'GET',
    //     true,
    //     isUserResponse,
    //     processUser,
    //     initialUser
    // )

    {
        data: initialUser,
        loading: false,
        error: null,
        refetch: () => { return },
    }
)

export default useUser
