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
|
||||
h="100%"
|
||||
offsetScrollbars={false}
|
||||
styles={{
|
||||
scrollbar: {
|
||||
marginTop: '35px',
|
||||
},
|
||||
}}
|
||||
styles={{ scrollbar: { marginTop: '35px' } }}
|
||||
>
|
||||
<AlbumDetailHeader background={background} />
|
||||
<AlbumDetailContent tableRef={tableRef} />
|
||||
{background && (
|
||||
<>
|
||||
<AlbumDetailHeader background={background} />
|
||||
<AlbumDetailContent tableRef={tableRef} />
|
||||
</>
|
||||
)}
|
||||
</ScrollArea>
|
||||
</AnimatedPage>
|
||||
);
|
||||
|
|
Reference in a new issue