Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #21 from taraldefi/feat/tables
Browse files Browse the repository at this point in the history
feat: minor fixes
  • Loading branch information
Aman-zishan committed Jul 17, 2023
2 parents c9f85ee + 50359aa commit 86e8623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Table/Table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@
padding-left: 24px;
display: flex;
justify-content: center;
height: 70px;
display: flex;
flex-direction: column;

Expand Down
6 changes: 3 additions & 3 deletions src/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -621,18 +621,18 @@ export const TeamTable: React.FC<teamTableType> = ({
teamTableData,
value,
}) => {
const [toggle, setToggle] = React.useState(true);
const [Teamtoggle, setTeamToggle] = React.useState(true);

return (
<>
<div className="task--box">
<span>MEMBERS ({value})</span>
<Button
label="View All Members"
onClick={() => setToggle(!toggle)}
onClick={() => setTeamToggle(!Teamtoggle)}
></Button>
</div>
<div className={'table ' + (toggle && 'active')}>
<div className={'table ' + (Teamtoggle && 'active')}>
<table>
<tbody>
<tr>
Expand Down

0 comments on commit 86e8623

Please sign in to comment.