Skip to content

Commit

Permalink
Update sdk types package
Browse files Browse the repository at this point in the history
  • Loading branch information
fredcido committed Nov 27, 2023
1 parent 1faecbc commit 383c5b4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 0 additions & 1 deletion examples/breakout-rooms/src/components/Avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const getNextColor = colorGenerator(colors);
const userColors = new Map<OnlineUserInfo["id"], string>();
const getUserColor = (user: OnlineUserInfo): string => {
let color = userColors.get(user.id);
console.log({ userColors, user, color });
if (!color) {
color = getNextColor.next().value ?? colors[0];
userColors.set(user.id, color);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export const BreakoutManager: React.FC = () => {
<Button
onClick={() => handleStopSession()}
variant="solid-danger"
size="large"
size="x-large"
>
Stop session
{canUseTimer && timer.state === "started"
Expand All @@ -308,7 +308,7 @@ export const BreakoutManager: React.FC = () => {
disabled={!canStartSession}
onClick={() => handleStartSession()}
variant="solid-prominent"
size="large"
size="x-large"
>
Start session
</Button>
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,13 @@
node-fetch "^2.6.9"
typedoc "0.23.24"

"@mirohq/[email protected]":
version "2.9.10"
resolved "https://registry.yarnpkg.com/@mirohq/websdk-types/-/websdk-types-2.9.10.tgz#b85c8097b27aa6885642bb957a2c14faf133690c"
integrity sha512-1uLw/SykIoTZf7Pl9eSgzE13puaMtNlVKuB/wRBUEAWAAUkcT3ppSoCHod7EemntDDJhcKEscwRigEmTCJftsw==
dependencies:
typescript ">=4.6.3 || ~5"

"@mirohq/websdk-types@^2.0.0":
version "2.3.0"
resolved "https://registry.npmjs.org/@mirohq/websdk-types/-/websdk-types-2.3.0.tgz"
Expand Down

0 comments on commit 383c5b4

Please sign in to comment.