"...utils/git@developer.sourcefind.cn:guobj/qwen_lmdeploy.git" did not exist on "4c9959f6b95e20f0a4a0a45c21d168ee7b568dc9"
Commit a2bd9b86 authored by Danny Liu's avatar Danny Liu
Browse files

style: npm run format

parent 0c43897f
......@@ -58,7 +58,12 @@ export const userSignIn = async (email: string, password: string) => {
return res;
};
export const userSignUp = async (name: string, email: string, password: string, profile_image_url: string) => {
export const userSignUp = async (
name: string,
email: string,
password: string,
profile_image_url: string
) => {
let error = null;
const res = await fetch(`${WEBUI_API_BASE_URL}/auths/signup`, {
......
......@@ -36,10 +36,12 @@
};
const signUpHandler = async () => {
const sessionUser = await userSignUp(name, email, password, generateInitialsImage(name)).catch((error) => {
toast.error(error);
return null;
});
const sessionUser = await userSignUp(name, email, password, generateInitialsImage(name)).catch(
(error) => {
toast.error(error);
return null;
}
);
await setSessionUser(sessionUser);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment