Skip to content

Commit 19fe27c

Browse files
committed
buiild errors
1 parent 35d006b commit 19fe27c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

functions/src/api/BlueAllianceApiClient.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export default class BlueAllianceApiClient extends GenericApiClient {
5757
return resp.filter((m) => m.comp_level === 'qm').map((m) => ({
5858
number: m.match_number,
5959
participants: BlueAllianceApiClient.AllianceTeamsToParticipants(m.alliances),
60+
type: 'match',
6061
}));
6162
}
6263

functions/src/api/FrcEventsApiClient.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export default class FrcEventsApiClient extends GenericApiClient {
4141
return resp.Schedule.map((x) => ({
4242
number: x.matchNumber,
4343
schedStart: new Date(x.startTime), // This is local time!
44+
type: 'match',
4445
participants: x.teams.filter((team) => !!team.teamNumber)
4546
.reduce((prev, team) => ({
4647
...prev,

src/components/QualDisplay/Queueing/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ const Queueing = () => {
288288
<MatchDisplay
289289
className={styles.queueingMatches}
290290
match={x}
291-
key={x.number}
291+
key={x.type === 'break' ? x.description : x.number}
292292
/>
293293
))}
294294
</div>

0 commit comments

Comments
 (0)