dao-game / peerjs-browser-bug / files / src / index.ts
Branch peerjs-browser-bug · default branch · all branches
index.ts
| 1 | import { showModal } from "./modal"; |
| 2 | |
| 3 | const doStuff = async () => { |
| 4 | await showModal({ |
| 5 | text: "<p>Your current browser is not yet supported.</p>" + |
| 6 | "<p>This PeerJs issue is tracking support in Microsoft Edge and Safari: </p>" + |
| 7 | "<p><a href=\"https://github.com/peers/peerjs/issues/899\">https://github.com/peers/peerjs/issues/899</a></p>", |
| 8 | willBackgroundCancel: false |
| 9 | }); |
| 10 | await showModal({ |
| 11 | text: 'Another thing!' |
| 12 | }); |
| 13 | }; |
| 14 | doStuff(); |