element-hq / element-hq/element-call
Creating fresh room by visiting URL fails in dev mode
- Dominant language
- TypeScript
- Stars
- 996
- Forks
- 213
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 55
Description
### Steps to reproduce
1. Get an element call in dev mode (eg. vite preview)
2. Open in web browser, suffixing url with a room that doesn't yet exist, eg. http://localhost:3000/somethingreallyuniquecabbage
3. Enter something fir display name when prompted
### Outcome
#### What did you expect?
The lobby
#### What happened instead?
Error saying room already exists
This will be a React 18 strict mode error as it will be trying to create the room on component mount and therefore doing it twice, which obviously fails the second time.
### Operating system
_No response_
### Browser information
_No response_
### URL for webapp
_No response_
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.