chore: fix use client response type
This commit is contained in:
parent
163822a49f
commit
0f34ac9182
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@ import { useRequestContext } from './request_context';
|
||||||
export function useClient() {
|
export function useClient() {
|
||||||
const { client } = useRequestContext();
|
const { client } = useRequestContext();
|
||||||
|
|
||||||
return [client];
|
return [client] as const;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue