This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"country": "Iran", | |
"advice": "Do not travel" | |
}, | |
{ | |
"country": "Zimbabwe", | |
"advice": "Exercise a high degree of caution" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Built using Svelte and peerjs | |
<script lang="ts"> | |
import Peer from "peerjs"; | |
import type { DataConnection } from "peerjs"; | |
import { onMount } from "svelte"; | |
type Optional<T> = T | null; | |
interface Message { | |
id?: string; |