We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c0f94 commit 928227dCopy full SHA for 928227d
1 file changed
packages/web/src/components/lineup/TrackLineup.tsx
@@ -232,7 +232,8 @@ export const TrackLineup = ({
232
null
233
)
234
useEffect(() => {
235
- const parent = externalScrollParent ?? document.getElementById('mainContent')
+ const parent =
236
+ externalScrollParent ?? document.getElementById('mainContent')
237
if (!parent) return
238
const update = () => setMeasuredThreshold(parent.clientHeight || null)
239
update()
@@ -338,10 +339,7 @@ export const TrackLineup = ({
338
339
340
const isInitialLoad = isPending && tiles.length === 0
341
const isEmpty =
- tiles.length === 0 &&
342
- !isFetching &&
343
- !isInitialLoad &&
344
- !isLoadMoreTriggered
+ tiles.length === 0 && !isFetching && !isInitialLoad && !isLoadMoreTriggered
345
346
return (
347
<div
0 commit comments