Skip to content

Commit

Permalink
Fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
00-22-11 committed May 24, 2022
1 parent 32b39fe commit 02f246a
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ export const DashboardStatsInfo: FC<Props> = ({
const rootContentClassName = countOfRightElements ? styles.rootWithRightColumn : styles.root;
const cardClassName = cx(styles.card, modeClass[colorThemeMode]);

const cardComponentClassName = cx(styles.rootCard, className);
const contentCardComponentClassName = cx(rootContentClassName, contentClassName);

const elementsFlexBasis50 = countOfRightElements * TWO;

return (
Expand All @@ -51,8 +48,8 @@ export const DashboardStatsInfo: FC<Props> = ({
}
: undefined
}
contentClassName={contentCardComponentClassName}
className={cardComponentClassName}
contentClassName={cx(rootContentClassName, contentClassName)}
className={cx(styles.rootCard, className)}
>
{cards.map((card: ReactElement, index: number) => (
<div
Expand Down

0 comments on commit 02f246a

Please sign in to comment.