You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/mains/password_start.tsx

14 lines
484 B
TypeScript

/* global $, Whisper */
// const $body = $(document.body);
import React from 'react';
import { SessionPasswordPrompt } from '../components/SessionPasswordPrompt';
// // eslint-disable-next-line strict
// window.view = new Whisper.PasswordView();
// $body.html('');
// window.view.$el.prependTo($body);
// className: 'password overlay',
// Component: window.Signal.Components.SessionPasswordPrompt,
window.ReactDOM.render(<SessionPasswordPrompt />, document.getElementById('root'));