You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
const-antly annoying linter
although it's a valid complaint here
This commit is contained in:
@@ -116,7 +116,7 @@ export async function startTermsFlow(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if there's anything left to agree to, prompt the user
|
// if there's anything left to agree to, prompt the user
|
||||||
let numAcceptedBeforeAgreement = agreedUrlSet.size;
|
const numAcceptedBeforeAgreement = agreedUrlSet.size;
|
||||||
if (unagreedPoliciesAndServicePairs.length > 0) {
|
if (unagreedPoliciesAndServicePairs.length > 0) {
|
||||||
const newlyAgreedUrls = await interactionCallback(unagreedPoliciesAndServicePairs, [...agreedUrlSet]);
|
const newlyAgreedUrls = await interactionCallback(unagreedPoliciesAndServicePairs, [...agreedUrlSet]);
|
||||||
console.log("User has agreed to URLs", newlyAgreedUrls);
|
console.log("User has agreed to URLs", newlyAgreedUrls);
|
||||||
|
|||||||
Reference in New Issue
Block a user