Skip to content

Commit

Permalink
Revert "fix: try to comment FinancialSkeletonTable component."
Browse files Browse the repository at this point in the history
This reverts commit e3f2c82.
  • Loading branch information
abouolia committed Feb 18, 2022
1 parent 8ae39bf commit 60d37e3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/components/FinancialSheet/FinancialSheetSkeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function FinancialSheetSkeleton({
</FinancialSheetDate>

<FinancialSheetTable>
<DataTable
<FinancialSkeletonTable
columns={skeletonTableColumns}
data={[]}
noInitialFetch={true}
Expand Down Expand Up @@ -73,4 +73,12 @@ FinancialSheetSkeleton.defaultProps = {
align: Align.Right,
},
],
};
};

const FinancialSkeletonTable = styled(DataTable)`
.table .th .skeleton,
.table .td .skeleton {
margin-top: 4px;
margin-bottom: 4px;
}
`;

0 comments on commit 60d37e3

Please sign in to comment.