Fix: When clicking the "join call now" button twice two guests are registered.

Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2024-02-13 12:43:15 +01:00
parent bcd8890f0a
commit 8562634391
+2
View File
@@ -41,6 +41,8 @@ export const RoomAuthView: FC = () => {
// @ts-ignore // @ts-ignore
(e) => { (e) => {
e.preventDefault(); e.preventDefault();
setLoading(true);
const data = new FormData(e.target); const data = new FormData(e.target);
const dataForDisplayName = data.get("displayName"); const dataForDisplayName = data.get("displayName");
const displayName = const displayName =