lmao
This commit is contained in:
parent
03ff799dfd
commit
ebea014083
|
@ -74,7 +74,8 @@ export default function RegisterForm({ ticket }: { ticket: string }) {
|
||||||
].map((ref) => ref.current?.value);
|
].map((ref) => ref.current?.value);
|
||||||
const avatar = avatarRef.current?.files?.[0];
|
const avatar = avatarRef.current?.files?.[0];
|
||||||
|
|
||||||
const avatarBase64 = avatar != null ? fileAsBase64(avatar!) : null;
|
const avatarBase64 =
|
||||||
|
avatar != null ? await fileAsBase64(avatar!) : null;
|
||||||
|
|
||||||
if (password !== confirmPassword) {
|
if (password !== confirmPassword) {
|
||||||
setPasswordMismatch(true);
|
setPasswordMismatch(true);
|
||||||
|
|
Loading…
Reference in New Issue