mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 13:40:24 +02:00
Wait for background color before rendering content
This commit is contained in:
@@ -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 New Issue
Block a user