Skip to content

Commit bccd46a

Browse files
committed
fix ci lint
1 parent 8bb3812 commit bccd46a

File tree

1 file changed

+6
-3
lines changed
  • frontend/src/components/blocks/live-streaming-section

1 file changed

+6
-3
lines changed

frontend/src/components/blocks/live-streaming-section/index.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export const LiveStreamingSection = () => {
4141
};
4242

4343
const runningEvent = currentDay?.runningEvents?.filter((event) =>
44-
(event.livestreamingRoom ? [event.livestreamingRoom] : event.rooms).map((room) => room.id).includes(currentRoom.id),
44+
(event.livestreamingRoom ? [event.livestreamingRoom] : event.rooms)
45+
.map((room) => room.id)
46+
.includes(currentRoom.id),
4547
)?.[0];
4648

4749
const hasLiveVideos = currentDay?.rooms?.some((room) => room.streamingUrl);
@@ -162,7 +164,8 @@ const isRoomStreaming = (
162164
) => {
163165
return runningEvents.some(
164166
(event) =>
165-
(event.livestreamingRoom ? [event.livestreamingRoom] : event.rooms).map((room) => room.id).includes(room.id) &&
166-
event.type !== "custom",
167+
(event.livestreamingRoom ? [event.livestreamingRoom] : event.rooms)
168+
.map((room) => room.id)
169+
.includes(room.id) && event.type !== "custom",
167170
);
168171
};

0 commit comments

Comments
 (0)