Skip to content

Commit

Permalink
chore: remove redundant props
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVorop committed Apr 10, 2024
1 parent e60ced3 commit 5c03739
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions src/components/GoalTableList/GoalTableList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,7 @@ export const GoalTableList = <T extends NonNullable<DashboardGoal>>({
},
{
content: nullable(safeUserData(goal.owner), (user) => (
<User
className={s.Owner}
name={user.name}
src={user.image}
email={user.email}
inheritColor
/>
<User className={s.Owner} name={user.name} src={user.image} email={user.email} />
)),
width: 172,
className: s.GoalTableColumnSecondary,
Expand Down
1 change: 0 additions & 1 deletion src/components/UserBadge/UserBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const UserBadge: React.FC<UserBadgeProps> = ({ name, image, email, childr
src={image}
email={email}
name={name}
inheritColor
iconRight={children}
action="dynamic"
/>
Expand Down

0 comments on commit 5c03739

Please sign in to comment.