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.
14 lines
484 B
TypeScript
14 lines
484 B
TypeScript
3 years ago
|
/* 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,
|
||
3 years ago
|
window.ReactDOM.render(<SessionPasswordPrompt />, document.getElementById('root'));
|