()
| 18 | l10n.mapToLocal(); |
| 19 | |
| 20 | function init() { |
| 21 | const query = new URLSearchParams(document.location.search); |
| 22 | // component id |
| 23 | const id = query.get('id') || ''; |
| 24 | addDocumentTitle(`Mailvelope - ${l10n.map.pwd_dialog_header}`); |
| 25 | // component used as a container (client API) |
| 26 | const root = document.createElement('div'); |
| 27 | ReactDOM.render(<PasswordDialog id={id} />, document.body.appendChild(root)); |
| 28 | } |
nothing calls this directly
no test coverage detected