TypeScriptify useInteractiveRegistration

This commit is contained in:
Robin Townsend
2022-05-27 16:08:03 -04:00
parent 35e2135e3c
commit c057713004
5 changed files with 133 additions and 112 deletions

View File

@@ -39,7 +39,7 @@ export function UnauthenticatedView() {
const [callType, setCallType] = useState(CallType.Video);
const [loading, setLoading] = useState(false);
const [error, setError] = useState();
const [{ privacyPolicyUrl, recaptchaKey }, register] =
const [privacyPolicyUrl, recaptchaKey, register] =
useInteractiveRegistration();
const { execute, reset, recaptchaId } = useRecaptcha(recaptchaKey);