sdy

update queries name

import React, { useState } from "react";
import { useMutation } from "@apollo/react-hooks";
import { LOGIN, SIGNUP, LOCAL_LOG_IN } from "./AuthQueries";
import { LOG_IN, SIGN_UP, LOCAL_LOG_IN } from "./AuthQueries";
import useInput from "../../Hooks/useInput";
import { toast } from "react-toastify";
import AuthPresenter from "./AuthPresenter";
......@@ -14,8 +14,8 @@ export default () => {
const phoneNum = useInput("");
const username = useInput("");
const [login] = useMutation(LOGIN);
const [createAccount] = useMutation(SIGNUP);
const [login] = useMutation(LOG_IN);
const [createAccount] = useMutation(SIGN_UP);
const [loginState] = useMutation(LOCAL_LOG_IN);
let Auth; // mutation result variable
......