Skip to content

Commit

Permalink
fix: update frontend deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed Sep 21, 2023
1 parent b26bb8c commit ac939d5
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 253 deletions.
16 changes: 8 additions & 8 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
"homepage": ".",
"private": true,
"dependencies": {
"@emotion/react": "^11.11.0",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.13.1",
"@mui/styles": "^5.13.1",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@mui/icons-material": "^5.14.9",
"@mui/material": "^5.14.10",
"@mui/styles": "^5.14.10",
"@types/react": "^18.2.22",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react-swc": "^3.3.2",
"notistack": "^3.0.1",
"prettier": "^2.8.8",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hotkeys-hook": "^4.4.0",
"react-hotkeys-hook": "^4.4.1",
"typescript": "~5.2.2",
"unique-names-generator": "^4.7.1",
"use-http": "^1.0.28",
Expand Down
5 changes: 2 additions & 3 deletions ui/src/useRoom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,8 @@ export const useRoom = (config: UIConfig): UseRoom => {
await client.current[event.payload.sid]?.setRemoteDescription(
event.payload.value
);
const answer = await client.current[
event.payload.sid
]?.createAnswer();
const answer =
await client.current[event.payload.sid]?.createAnswer();
await client.current[event.payload.sid]?.setLocalDescription(
answer
);
Expand Down

0 comments on commit ac939d5

Please sign in to comment.