fix(client): export useSignin and useSignup

This commit is contained in:
chenos 2022-06-02 21:54:18 +08:00
parent fe245d1f75
commit 7c21c5cf1a
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ const schema: ISchema = {
},
};
const useSignin = () => {
export const useSignin = () => {
const location = useLocation<any>();
const history = useHistory();
const form = useForm();

View File

@ -85,7 +85,7 @@ const schema: ISchema = {
},
};
const useSignup = () => {
export const useSignup = () => {
const history = useHistory();
const form = useForm();
const api = useAPIClient();