mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
feat(ios): hashcash in swift (#8602)
This commit is contained in:
@@ -11,10 +11,8 @@ export const Captcha = () => {
|
||||
const isLoading = useLiveData(captchaService.isLoading$);
|
||||
const verifyToken = useLiveData(captchaService.verifyToken$);
|
||||
useEffect(() => {
|
||||
if (hasCaptchaFeature) {
|
||||
captchaService.revalidate();
|
||||
}
|
||||
}, [captchaService, hasCaptchaFeature]);
|
||||
captchaService.revalidate();
|
||||
}, [captchaService]);
|
||||
|
||||
const handleTurnstileSuccess = useCallback(
|
||||
(token: string) => {
|
||||
|
||||
Reference in New Issue
Block a user