Skip to content

Commit

Permalink
Change back Conference keeping Invite link button same
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathakurxd committed Mar 4, 2024
1 parent f942dc4 commit 0d53521
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/components/Conference.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import '@tldraw/tldraw/tldraw.css'
import { TldrawLogo } from '../components/TldrawLogo'
import { CreatePollButton } from '../components/CreatePollButton'
import './styles.css'
import { Tldraw } from '@tldraw/tldraw'
import { Tldraw, coreShapes } from '@tldraw/tldraw'
import { useYjsStore } from '../useYjsStore'
import { useState } from 'react'
import { Pagination } from './Pagination'
Expand All @@ -16,7 +16,7 @@ const HOST_URL = 'wss://demo-yjs-server-production.up.railway.app'

function Conference() {
const peers = useHMSStore(selectPeers)
const roomCode = localStorage.getItem('roomCode')
const roomCode = localStorage.getItem('roomCode') ?? ''

const store = useYjsStore({
roomId: roomCode,
Expand Down Expand Up @@ -48,6 +48,7 @@ function Conference() {
<div className="invite-text">COPY INVITE LINK</div>
<CopyButton value={`make-real-polls.vercel.app/?room=${roomCode}`} />
</div>
{/* <div>Invite others: make-real-polls.vercel.app/?room={roomCode}</div> */}
<Footer />
</div>
<div className="editor">
Expand Down

0 comments on commit 0d53521

Please sign in to comment.