chore: fix use client response type

This commit is contained in:
Dmitriy Pleshevskiy 2021-06-24 21:59:15 +03:00
parent 163822a49f
commit 0f34ac9182

View file

@ -3,5 +3,5 @@ import { useRequestContext } from './request_context';
export function useClient() {
const { client } = useRequestContext();
return [client];
return [client] as const;
}