File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export const CarouselButton = styled('button')(({ theme }) => ({
6
6
transform : 'translateY(-50%)' ,
7
7
zIndex : '1' ,
8
8
background : theme . palette . background . paper ,
9
+ color : theme . palette . mode === 'dark' ? theme . palette . common . white : theme . palette . common . black ,
9
10
border : 'none' ,
10
11
cursor : 'pointer' ,
11
12
padding : '0.5rem' ,
Original file line number Diff line number Diff line change @@ -90,8 +90,7 @@ export const Title = styled(Typography)(({ theme }) => ({
90
90
} ) ) ;
91
91
92
92
export const StyledCard = styled ( Card ) < StyledCardProps > ( ( { theme } ) => ( {
93
- width : 'inherit' ,
94
- minWidth : '150px' ,
93
+ width : '200px' ,
95
94
borderRadius : '16px' ,
96
95
position : 'relative' ,
97
96
overflow : 'hidden' ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ interface CollaborationConfigParams {
19
19
}
20
20
21
21
interface CollaborationConfig {
22
- signaling : string [ ] ;
22
+ signalingUrl : string [ ] ;
23
23
user : UserProfile ;
24
24
authToken : string ;
25
25
refreshAuthToken : ( ) => Promise < string > ;
@@ -113,7 +113,7 @@ export const getCollaborationConfig = async ({
113
113
} ;
114
114
115
115
return {
116
- signaling : [ getSignalingUrlFromProviderUrl ( provider_url ) ] ,
116
+ signalingUrl : [ getSignalingUrlFromProviderUrl ( provider_url ) ] ,
117
117
user : userProfile ,
118
118
authToken : accessToken ,
119
119
refreshAuthToken : refreshToken ,
@@ -143,7 +143,7 @@ const subscribeToRoomActivity = async (
143
143
} ) ;
144
144
145
145
// Create the websocket connection with proper headers
146
- const ws = new WebSocket ( config . signaling [ 0 ] , [ 'auth' , config . authToken ] ) ;
146
+ const ws = new WebSocket ( config . signalingUrl [ 0 ] , [ 'auth' , config . authToken ] ) ;
147
147
wsRef . current = ws ;
148
148
149
149
ws . addEventListener ( 'open' , ( ) => {
You can’t perform that action at this time.
0 commit comments