File tree Expand file tree Collapse file tree 6 files changed +36
-36
lines changed
desktop/renderer-app/src/pages Expand file tree Collapse file tree 6 files changed +36
-36
lines changed Original file line number Diff line number Diff line change @@ -229,18 +229,18 @@ export const BigClassPage = observer<BigClassPageProps>(function BigClassPage()
229229 return (
230230 < >
231231 < NetworkStatus networkQuality = { classRoomStore . networkQuality } />
232- { ! classRoomStore . isCreator ? (
233- < RoomInfo
234- roomStatus = { classRoomStore . roomStatus }
235- roomType = { classRoomStore . roomInfo ?. roomType }
236- />
237- ) : (
232+ { classRoomStore . isCreator ? (
238233 classRoomStore . roomInfo ?. beginTime && (
239234 < Timer
240235 roomStatus = { classRoomStore . roomStatus }
241236 beginTime = { classRoomStore . roomInfo . beginTime }
242237 />
243238 )
239+ ) : (
240+ < RoomInfo
241+ roomStatus = { classRoomStore . roomStatus }
242+ roomType = { classRoomStore . roomInfo ?. roomType }
243+ />
244244 ) }
245245 </ >
246246 ) ;
Original file line number Diff line number Diff line change @@ -187,18 +187,18 @@ export const OneToOnePage = observer<OneToOnePageProps>(function OneToOnePage()
187187 return (
188188 < >
189189 < NetworkStatus networkQuality = { classRoomStore . networkQuality } />
190- { ! classRoomStore . isCreator ? (
191- < RoomInfo
192- roomStatus = { classRoomStore . roomStatus }
193- roomType = { classRoomStore . roomInfo ?. roomType }
194- />
195- ) : (
190+ { classRoomStore . isCreator ? (
196191 classRoomStore . roomInfo ?. beginTime && (
197192 < Timer
198193 roomStatus = { classRoomStore . roomStatus }
199194 beginTime = { classRoomStore . roomInfo . beginTime }
200195 />
201196 )
197+ ) : (
198+ < RoomInfo
199+ roomStatus = { classRoomStore . roomStatus }
200+ roomType = { classRoomStore . roomInfo ?. roomType }
201+ />
202202 ) }
203203 </ >
204204 ) ;
Original file line number Diff line number Diff line change @@ -224,18 +224,18 @@ export const SmallClassPage = observer<SmallClassPageProps>(function SmallClassP
224224 return (
225225 < >
226226 < NetworkStatus networkQuality = { classRoomStore . networkQuality } />
227- { ! classRoomStore . isCreator ? (
228- < RoomInfo
229- roomStatus = { classRoomStore . roomStatus }
230- roomType = { classRoomStore . roomInfo ?. roomType }
231- />
232- ) : (
227+ { classRoomStore . isCreator ? (
233228 classRoomStore . roomInfo ?. beginTime && (
234229 < Timer
235230 roomStatus = { classRoomStore . roomStatus }
236231 beginTime = { classRoomStore . roomInfo . beginTime }
237232 />
238233 )
234+ ) : (
235+ < RoomInfo
236+ roomStatus = { classRoomStore . roomStatus }
237+ roomType = { classRoomStore . roomInfo ?. roomType }
238+ />
239239 ) }
240240 </ >
241241 ) ;
Original file line number Diff line number Diff line change @@ -203,18 +203,18 @@ export const BigClassPage = observer<BigClassPageProps>(function BigClassPage()
203203 return (
204204 < >
205205 < NetworkStatus networkQuality = { classRoomStore . networkQuality } />
206- { ! classRoomStore . isCreator ? (
207- < RoomInfo
208- roomStatus = { classRoomStore . roomStatus }
209- roomType = { classRoomStore . roomInfo ?. roomType }
210- />
211- ) : (
206+ { classRoomStore . isCreator ? (
212207 classRoomStore . roomInfo ?. beginTime && (
213208 < Timer
214209 roomStatus = { classRoomStore . roomStatus }
215210 beginTime = { classRoomStore . roomInfo . beginTime }
216211 />
217212 )
213+ ) : (
214+ < RoomInfo
215+ roomStatus = { classRoomStore . roomStatus }
216+ roomType = { classRoomStore . roomInfo ?. roomType }
217+ />
218218 ) }
219219 </ >
220220 ) ;
Original file line number Diff line number Diff line change @@ -163,18 +163,18 @@ export const OneToOnePage = observer<OneToOnePageProps>(function OneToOnePage()
163163 return (
164164 < >
165165 < NetworkStatus networkQuality = { classRoomStore . networkQuality } />
166- { ! classRoomStore . isCreator ? (
167- < RoomInfo
168- roomStatus = { classRoomStore . roomStatus }
169- roomType = { classRoomStore . roomInfo ?. roomType }
170- />
171- ) : (
166+ { classRoomStore . isCreator ? (
172167 classRoomStore . roomInfo ?. beginTime && (
173168 < Timer
174169 roomStatus = { classRoomStore . roomStatus }
175170 beginTime = { classRoomStore . roomInfo . beginTime }
176171 />
177172 )
173+ ) : (
174+ < RoomInfo
175+ roomStatus = { classRoomStore . roomStatus }
176+ roomType = { classRoomStore . roomInfo ?. roomType }
177+ />
178178 ) }
179179 </ >
180180 ) ;
Original file line number Diff line number Diff line change @@ -205,18 +205,18 @@ export const SmallClassPage = observer<SmallClassPageProps>(function SmallClassP
205205 return (
206206 < >
207207 < NetworkStatus networkQuality = { classRoomStore . networkQuality } />
208- { ! classRoomStore . isCreator ? (
209- < RoomInfo
210- roomStatus = { classRoomStore . roomStatus }
211- roomType = { classRoomStore . roomInfo ?. roomType }
212- />
213- ) : (
208+ { classRoomStore . isCreator ? (
214209 classRoomStore . roomInfo ?. beginTime && (
215210 < Timer
216211 roomStatus = { classRoomStore . roomStatus }
217212 beginTime = { classRoomStore . roomInfo . beginTime }
218213 />
219214 )
215+ ) : (
216+ < RoomInfo
217+ roomStatus = { classRoomStore . roomStatus }
218+ roomType = { classRoomStore . roomInfo ?. roomType }
219+ />
220220 ) }
221221 </ >
222222 ) ;
You can’t perform that action at this time.
0 commit comments