First batch of burning
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
780c413b5d
commit
a4fe2f143f
12 changed files with 22 additions and 45 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue