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