You should use useGetMyNewCustomEndpointQuery instead of useGetMyNewCustomEndpoint ... notice the Query suffix.
useGetMyNewCustomEndpointQuery
useGetMyNewCustomEndpoint
Query