Wait for background color before rendering content
This commit is contained in:
parent
0a9dcf36b9
commit
58ed2f3706
1 changed files with 7 additions and 7 deletions
|
@ -24,14 +24,14 @@ const AlbumDetailRoute = () => {
|
||||||
<ScrollArea
|
<ScrollArea
|
||||||
h="100%"
|
h="100%"
|
||||||
offsetScrollbars={false}
|
offsetScrollbars={false}
|
||||||
styles={{
|
styles={{ scrollbar: { marginTop: '35px' } }}
|
||||||
scrollbar: {
|
|
||||||
marginTop: '35px',
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<AlbumDetailHeader background={background} />
|
{background && (
|
||||||
<AlbumDetailContent tableRef={tableRef} />
|
<>
|
||||||
|
<AlbumDetailHeader background={background} />
|
||||||
|
<AlbumDetailContent tableRef={tableRef} />
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
</AnimatedPage>
|
</AnimatedPage>
|
||||||
);
|
);
|
||||||
|
|
Reference in a new issue