From 0f34ac91829e8a2547e099e5b6346788bb423b01 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 24 Jun 2021 21:59:15 +0300 Subject: [PATCH] chore: fix use client response type --- src/client_hook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client_hook.ts b/src/client_hook.ts index a93b142..bd06539 100644 --- a/src/client_hook.ts +++ b/src/client_hook.ts @@ -3,5 +3,5 @@ import { useRequestContext } from './request_context'; export function useClient() { const { client } = useRequestContext(); - return [client]; + return [client] as const; }