Fixed build error
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user