修复 typo
This commit is contained in:
parent
f579c37908
commit
5a56b240e9
|
@ -25,8 +25,8 @@ export const PageRegister = () => {
|
||||||
const username = usernameInput.current?.value
|
const username = usernameInput.current?.value
|
||||||
const password = passwordInput.current?.value
|
const password = passwordInput.current?.value
|
||||||
const email = emailInput.current?.value
|
const email = emailInput.current?.value
|
||||||
const invitationCode = passwordInput.current?.value
|
const invitationCode = invitationCodeInput.current?.value
|
||||||
const validationCode = invitationCodeInput.current?.value
|
const validationCode = validationCodeInput.current?.value
|
||||||
if(!username || !password) {
|
if(!username || !password) {
|
||||||
setIllegalMessgae("请将以下内容全部输入")
|
setIllegalMessgae("请将以下内容全部输入")
|
||||||
setIllegal(true)
|
setIllegal(true)
|
||||||
|
@ -45,7 +45,7 @@ export const PageRegister = () => {
|
||||||
if(texture.SKIN || texture.CAPE) {
|
if(texture.SKIN || texture.CAPE) {
|
||||||
textureMigrations = {
|
textureMigrations = {
|
||||||
skin: texture.SKIN?.url ?? undefined,
|
skin: texture.SKIN?.url ?? undefined,
|
||||||
cape: texture.SKIN?.url ?? undefined,
|
cape: texture.CAPE?.url ?? undefined,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue