7 lines
163 B
TypeScript
7 lines
163 B
TypeScript
import { useRequestContext } from './request_context';
|
|
|
|
export function useClient() {
|
|
const { client } = useRequestContext();
|
|
|
|
return [client] as const;
|
|
}
|