()
| 13 | l10n.mapToLocal(); |
| 14 | |
| 15 | function init() { |
| 16 | const query = new URLSearchParams(document.location.search); |
| 17 | // component id |
| 18 | const id = query.get('id') || ''; |
| 19 | // component used as a container (client API) |
| 20 | const root = document.createElement('div'); |
| 21 | ReactDOM.render(<AuthDomain id={id} />, document.body.appendChild(root)); |
| 22 | } |