Skip to content

Commit

Permalink
fix active
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiomagalhaes committed Dec 5, 2024
1 parent 738361c commit 9727187
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const UsersTable = ({ users, onExpand, selectedUser, userSkills }: Props) => {
accessor: "fullName",
width: "30%",
Cell: ({ row }: any) => {
const { original, active } = row;
const { original } = row;
const { active } = original;
if (original.isSkillRow) {
return (
<Box pl={4}>
Expand All @@ -59,13 +60,14 @@ const UsersTable = ({ users, onExpand, selectedUser, userSkills }: Props) => {
</Box>
);
}

const icon = (
<div
style={{
width: 8,
height: 8,
borderRadius: "50%",
backgroundColor: active ? "#f44336" : "#4caf50",
backgroundColor: active ? "#4caf50" : "#f44336",
margin: "0 auto",
marginRight: 10,
}}
Expand Down

0 comments on commit 9727187

Please sign in to comment.