First batch of burning
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -17,8 +17,8 @@ limitations under the License.
|
||||
import classNames from 'classnames';
|
||||
|
||||
import { MatrixClientPeg } from './MatrixClientPeg';
|
||||
import * as sdk from '.';
|
||||
import Modal from './Modal';
|
||||
import TermsDialog from './components/views/dialogs/TermsDialog';
|
||||
|
||||
export class TermsNotSignedError extends Error {}
|
||||
|
||||
@@ -188,7 +188,6 @@ export function dialogTermsInteractionCallback(
|
||||
): Promise<string[]> {
|
||||
return new Promise((resolve, reject) => {
|
||||
console.log("Terms that need agreement", policiesAndServicePairs);
|
||||
const TermsDialog = sdk.getComponent("views.dialogs.TermsDialog");
|
||||
|
||||
Modal.createTrackedDialog('Terms of Service', '', TermsDialog, {
|
||||
policiesAndServicePairs,
|
||||
|
||||
Reference in New Issue
Block a user