diff --git a/src/graphql/client.ts b/src/graphql/client.ts new file mode 100644 index 0000000..2ad1fd4 --- /dev/null +++ b/src/graphql/client.ts @@ -0,0 +1,5 @@ +import { createClient } from "@urql/core"; + +const client = createClient({ + url: '' +}); \ No newline at end of file diff --git a/src/hooks/auth/login.hook.ts b/src/hooks/auth/login.hook.ts index 8b4cb7d..b1733c2 100644 --- a/src/hooks/auth/login.hook.ts +++ b/src/hooks/auth/login.hook.ts @@ -13,6 +13,7 @@ const useLogin = () => { const handleLogin = (ev: any) => { ev.preventDefault(); setLoading(true); + }; return { handleInput, loading, handleLogin, form };