mirror of
https://github.com/edumeet/edumeet.git
synced 2026-08-01 15:30:21 +00:00
Merge branch 'fix-roomId-inserting' into develop
This commit is contained in:
commit
a4b79ffc84
1 changed files with 2 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ const JoinDialog = ({
|
|||
const [ authType, setAuthType ] = useState('guest');
|
||||
|
||||
const [ roomId, setRoomId ] = useState(
|
||||
encodeURIComponent(location.pathname.slice(1)) ||
|
||||
decodeURIComponent(location.pathname.slice(1)) ||
|
||||
randomString({ length: 8 }).toLowerCase()
|
||||
);
|
||||
|
||||
|
|
@ -281,7 +281,7 @@ const JoinDialog = ({
|
|||
id : 'label.roomName',
|
||||
defaultMessage : 'Room name'
|
||||
})}
|
||||
value={decodeURIComponent(roomId)}
|
||||
value={roomId}
|
||||
variant='outlined'
|
||||
margin='normal'
|
||||
InputProps={{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue