fix: duplicated turnstile component

This commit is contained in:
ckt1031 2023-08-08 23:17:57 +08:00
parent 43496ecda7
commit 47cf052d22

View File

@ -378,16 +378,6 @@ const PersonalSetting = () => {
) : ( ) : (
<></> <></>
)} )}
{turnstileEnabled ? (
<Turnstile
sitekey={turnstileSiteKey}
onVerify={(token) => {
setTurnstileToken(token);
}}
/>
) : (
<></>
)}
<div style={{ display: 'flex', justifyContent: 'space-between', marginTop: '1rem' }}> <div style={{ display: 'flex', justifyContent: 'space-between', marginTop: '1rem' }}>
<Button <Button
color='red' color='red'