forked from NotNet/gluestick
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);
|
||||
const avatar = avatarRef.current?.files?.[0];
|
||||
|
||||
const avatarBase64 = avatar != null ? fileAsBase64(avatar!) : null;
|
||||
const avatarBase64 =
|
||||
avatar != null ? await fileAsBase64(avatar!) : null;
|
||||
|
||||
if (password !== confirmPassword) {
|
||||
setPasswordMismatch(true);
|
||||
|
|
Loading…
Reference in New Issue