Skip to content

Commit

Permalink
Fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tarashaidarTimechimp committed Apr 5, 2024
1 parent a4c46eb commit 9d99d44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/components/avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export interface AvatarProps extends BaseAvatarProps {
borderColor?: string;
color?: string;
height?: string;
filter?: string;
}

export const Avatar = ({
Expand All @@ -24,6 +25,7 @@ export const Avatar = ({
borderColor,
size,
color,
filter,
...rest
}: AvatarProps) => {
const {
Expand Down Expand Up @@ -58,6 +60,7 @@ export const Avatar = ({
backgroundColor: backgroundColor ?? primary,
height: height ?? scale800,
width: height ?? scale800,
filter: filter,
},
props: {
[DATA_TEST_ID]: testId,
Expand All @@ -67,6 +70,7 @@ export const Avatar = ({
style: {
fontSize: getFontSize(),
color: color ?? light4,
width: size,
},
},
};
Expand All @@ -77,6 +81,7 @@ export const Avatar = ({
backgroundColor: backgroundColor ?? light3,
height: height ?? scale800,
width: height ?? scale800,
filter: filter,
...borderRadius('50%'),
...border({
...border300,
Expand All @@ -92,6 +97,7 @@ export const Avatar = ({
style: {
fontSize: getFontSize(),
color: color ?? dark1,
width: size,
},
},
};
Expand Down
3 changes: 1 addition & 2 deletions src/components/data-grid/DataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,8 @@ export const DataGrid = ({
if (selectedGroupOption && item[selectedGroupOption.field] === EMPTY_GROUP) {
item[selectedGroupOption?.field] = translations?.emptyGroup[selectedGroupOption?.field];
return item;
} else {
return item;
}
return item;
});

return params.success({
Expand Down

0 comments on commit 9d99d44

Please sign in to comment.