diff --git a/src/components/AuthUser/SignInForm/postCredentials.ts b/src/components/AuthUser/SignInForm/postCredentials.ts index b55f4bcfdd95265c6512212015cf488c6a314be6..0ab2746444b53c20045f73647237af7c4df40306 100644 --- a/src/components/AuthUser/SignInForm/postCredentials.ts +++ b/src/components/AuthUser/SignInForm/postCredentials.ts @@ -1,7 +1,7 @@ import axios from 'axios'; import { CredentialsType } from './CredentialsType'; -export const fetchCookie = async ( +export const postCredentials = async ( values: CredentialsType, cookie: React.Dispatch<React.SetStateAction<string>>, ): Promise<unknown> => {