mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 20:27:23 +00:00
Add loading spinner to Cloudflare popup during Turnstile verification
This commit is contained in:
@@ -274,7 +274,7 @@ function FileTile({file}: { file: RFile }) {
|
|||||||
function CloudflarePopup({file}: { file: RFile }) {
|
function CloudflarePopup({file}: { file: RFile }) {
|
||||||
const closePopup = useClosePopup()
|
const closePopup = useClosePopup()
|
||||||
|
|
||||||
const [isLoading, setLoading] = useState(false)
|
const [isLoading, setLoading] = useState(true)
|
||||||
|
|
||||||
return <div className={"menu bg-base-100 rounded-box z-1 w-80 p-2 shadow-sm h-20 relative"}>
|
return <div className={"menu bg-base-100 rounded-box z-1 w-80 p-2 shadow-sm h-20 relative"}>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user