Skip to content

Commit 012dbc4

Browse files
Merge pull request #204 from CSSLab/feature/broadcasts
Add live Lichess tournament broadcasts within analysis page
2 parents 50e17e2 + 1601e17 commit 012dbc4

25 files changed

Lines changed: 3171 additions & 63 deletions

src/api/broadcasts.ts

Lines changed: 469 additions & 0 deletions
Large diffs are not rendered by default.

src/api/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ export * from './openings'
88
export * from './lichess'
99
export * from './home'
1010
export * from './utils'
11+
export * from './broadcasts'

src/components/Analysis/AnalysisSidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const AnalysisSidebar: React.FC<Props> = ({
144144
],
145145
}
146146
}
147-
currentNode={controller.currentNode}
147+
currentNode={controller.currentNode ?? undefined}
148148
/>
149149
</div>
150150
<div className="flex h-full w-full bg-background-1">
@@ -254,7 +254,7 @@ export const AnalysisSidebar: React.FC<Props> = ({
254254
],
255255
}
256256
}
257-
currentNode={controller.currentNode}
257+
currentNode={controller.currentNode ?? undefined}
258258
/>
259259
</div>
260260
<div className="flex h-full w-auto min-w-[40%] max-w-[40%] bg-background-1 p-3">

0 commit comments

Comments
 (0)