Removed video and added text

This commit is contained in:
Mitchell McCaffrey
2020-03-26 12:24:52 +11:00
parent 30e957e937
commit 54c7100c2c
13 changed files with 469 additions and 338 deletions

View File

@@ -3,7 +3,7 @@ import { IconButton, Flex, Box, Label, Text } from "theme-ui";
import Modal from "./Modal";
function AddPartyMemberButton({ streamId }) {
function AddPartyMemberButton({ peerId }) {
const [isAddModalOpen, setIsAddModalOpen] = useState(false);
function openModal() {
setIsAddModalOpen(true);
@@ -32,7 +32,7 @@ function AddPartyMemberButton({ streamId }) {
<Box>
<Label p={2}>Other people can join using your ID ʕʔ</Label>
<Box p={2} bg="hsla(230, 20%, 0%, 20%)">
<Text>{streamId}</Text>
<Text>{peerId}</Text>
</Box>
</Box>
</Modal>