mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-01 23:56:38 +08:00
fix: duplicated turnstile component
This commit is contained in:
parent
43496ecda7
commit
47cf052d22
@ -378,16 +378,6 @@ const PersonalSetting = () => {
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
{turnstileEnabled ? (
|
||||
<Turnstile
|
||||
sitekey={turnstileSiteKey}
|
||||
onVerify={(token) => {
|
||||
setTurnstileToken(token);
|
||||
}}
|
||||
/>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', marginTop: '1rem' }}>
|
||||
<Button
|
||||
color='red'
|
||||
|
Loading…
Reference in New Issue
Block a user