Fixed build error

This commit is contained in:
Christomatt
2026-01-26 18:15:19 +01:00
parent 5b0269af34
commit 052c5909c6
+1 -1
View File
@@ -518,7 +518,7 @@ export default function LoginPage() {
type="submit" type="submit"
className="btn btn-primary btn-lg" className="btn btn-primary btn-lg"
style={{ width: '100%' }} style={{ width: '100%' }}
disabled={loading || (nodeInfo.turnstileSiteKey && !turnstileToken)} disabled={loading || (!!nodeInfo.turnstileSiteKey && !turnstileToken)}
> >
{loading ? 'Please wait...' : (mode === 'login' ? 'Login' : 'Create Account')} {loading ? 'Please wait...' : (mode === 'login' ? 'Login' : 'Create Account')}
</button> </button>