Skip to content

Commit

Permalink
fix(datable): update the datatbale and detail skeleton closes2307
Browse files Browse the repository at this point in the history
  • Loading branch information
kaminderpal committed Jun 28, 2024
1 parent a39ac5b commit 60681f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export default function DetailsSkeleton(): JSX.Element {
return (
<Box padding={8}>
<Box pb={8}>
{sizes.map((size) => (
<Box display="flex" justifyContent="space-between" pt={4} pb={4} key={size.toString()}>
{sizes.map((size, index) => (
<Box display="flex" justifyContent="space-between" pt={4} pb={4} key={`${index.toString()}-${size}}`}>
<Skeleton variant="text" width={size} height="25px" />
<Skeleton variant="text" width={size} height="25px" />
</Box>
Expand Down

0 comments on commit 60681f6

Please sign in to comment.