🐛 fix: Fix bugs

This commit is contained in:
web
2025-10-21 04:10:34 -07:00
parent c2bfee1f31
commit a46657d5ef
15 changed files with 276 additions and 19 deletions
+1
View File
@@ -20,6 +20,7 @@ export default function PhoneAuthForm() {
const [type, setType] = useState<'login' | 'register' | 'reset'>('login');
const [loading, startTransition] = useTransition();
const [initialValues, setInitialValues] = useState<API.TelephoneLoginRequest>({
identifier: '',
telephone: '',
telephone_area_code: '1',
password: '',
@@ -19,6 +19,8 @@ export default function Certification({ platform, children }: CertificationProps
oAuthLoginGetToken({
method: platform,
callback: searchParams,
// @ts-ignore
invite: localStorage.getItem('invite') || '',
})
.then((res) => {
const token = res?.data?.data?.token;