Skip to content

Commit

Permalink
remove plus from bottom of myStaffPlan
Browse files Browse the repository at this point in the history
  • Loading branch information
HankC138 committed Nov 27, 2024
1 parent cff9aa9 commit 2b4aaa4
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 43 deletions.
19 changes: 0 additions & 19 deletions app/people/[userId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,6 @@ const UserPage: React.FC = () => {
) : (
<LoadingSpinner />
)}
<div className="sm:block hidden mt-5">
<button
className="bg-white border-2 border-accentgreen w-8 h-8 ml-2 rounded-full flex justify-center items-center"
onClick={() => setAddAssignmentVisible(!addAssignmentVisible)}
>
{addAssignmentVisible ? (
<MinusIcon className="fill-accentgreen" />
) : (
<PlusIcon className="fill-accentgreen" />
)}
</button>
{addAssignmentVisible && (
<AddAssignmentSingleUser
user={singleUserPage}
onClose={onClose}
onComplete={onComplete}
/>
)}
</div>
</>
);
};
Expand Down
69 changes: 46 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"react-easy-infinite-scroll-hook": "^2.1.4",
"react-icons": "^5.3.0",
"react-infinite-scroll-component": "^6.1.0",
"react-router-dom": "^6.28.0",
"react-router-dom": "^7.0.1",
"react-select": "^5.8.3",
"react-spinners": "^0.14.1",
"ts-node": "^10.9.2"
Expand Down

0 comments on commit 2b4aaa4

Please sign in to comment.