This commit is contained in:
2026-03-30 11:08:25 +08:00
parent ae315100b4
commit 1fe4a4fb41
10 changed files with 5524 additions and 138 deletions

View File

@@ -1,5 +1,6 @@
import { type SignInState } from "./state";
import { type SignInAction } from "./action";
import { UserRoles } from "../../api/models";
export const initialState: SignInState = {
isSubmiting: false,
@@ -9,7 +10,7 @@ export const initialState: SignInState = {
},
signUpUser: {
account: "",
defaultRole: "Buyer",
defaultRole: UserRoles.Buyer,
nickName: "",
password: "",
},