Skip to content

Commit

Permalink
fix loading row directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Apr 13, 2020
1 parent 562cc26 commit cb2e636
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions app/ui/client/views/app/components/Directory/DirectoryTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,15 @@ export function Markdown({ children, ...props }) {

const LoadingRow = ({ cols }) => <Table.Row>
<Table.Cell>
<Flex.Container>
<Box>
<Flex.Item>
<Skeleton variant='rect' height={40} width={40} />
</Flex.Item>
<Box mi='x8' grow={1}>
<Skeleton width='100%' />
<Skeleton width='100%' />
</Box>
<Box display='flex'>
<Flex.Item>
<Skeleton variant='rect' height={40} width={40} />
</Flex.Item>
<Box mi='x8' flexGrow={1}>
<Skeleton width='100%' />
<Skeleton width='100%' />
</Box>
</Flex.Container>
</Box>
</Table.Cell>
{ Array.from({ length: cols - 1 }, (_, i) => <Table.Cell key={i}>
<Skeleton width='100%' />
Expand Down

0 comments on commit cb2e636

Please sign in to comment.