Conversation
modified: package.json new file: src/declarations.d.ts renamed: src/opportunities/components/AboutSection.js -> src/opportunities/components/AboutSection.tsx renamed: src/opportunities/components/AboutSectionElement.js -> src/opportunities/components/AboutSectionElement.tsx modified: src/opportunities/components/HorizontalIconButton.tsx renamed: src/opportunities/components/JobDescription.js -> src/opportunities/components/JobDescription.tsx renamed: src/opportunities/components/JobDetails.js -> src/opportunities/components/JobDetails.tsx renamed: src/opportunities/components/JobHeader.js -> src/opportunities/components/JobHeader.tsx renamed: src/opportunities/components/JobInteractionButton.js -> src/opportunities/components/JobInteractionButton.tsx renamed: src/opportunities/components/JobPost.js -> src/opportunities/components/JobPost.tsx renamed: src/opportunities/components/JobsNavigation.js -> src/opportunities/components/JobsNavigation.tsx modified: src/opportunities/components/SmallTextButton.tsx modified: src/opportunities/pages/IndividualPost.tsx modified: src/shared/components/Checkbox.tsx renamed: src/shared/components/Profile/EditInformation.js -> src/shared/components/Profile/EditInformation.tsx renamed: src/shared/components/Profile/OpportunityActionCard.js -> src/shared/components/Profile/OpportunityActionCard.tsx modified: src/shared/components/SEO.tsx renamed: src/shared/components/UIElements/Backdrop.js -> src/shared/components/UIElements/Backdrop.tsx modified: src/shared/components/UIElements/Breadcrumb.tsx deleted: src/shared/components/UIElements/GroupedComponents.js new file: src/shared/components/UIElements/GroupedComponents.tsx modified: src/shared/components/UIElements/LargeTextCard.tsx modified: src/shared/hooks/page-navigation-hook.ts renamed: src/shared/pages/EditProfile.js -> src/shared/pages/EditProfile.tsx modified: src/staff/components/DepartmentStaff.tsx renamed: src/staff/components/Input.js -> src/staff/components/Input.tsx renamed: src/staff/components/LargeImageCard.js -> src/staff/components/LargeImageCard.tsx modified: src/style/general.css
modified: src/opportunities/pages/IndividualPost.tsx
modified: src/opportunities/components/JobDescription.tsx modified: src/shared/components/Profile/EditInformation.tsx modified: src/staff/components/Input.tsx
|
The last couple issues with eslint is stuff carried over from re branching from main, not sure if you want me to fix it since I'll be deleting the unused vars and im guessing they were added for something that isnt finished. The role defined and not used is for the department prop of Avatar, added a role prop to clear an error but wasn't sure if I should just delete the department getting passed in in Job Header since I saw department props got adding to a couple other components between my PRs. Lmk if you want me to make any other changes. Also made a couple changes to the fetch request on my end but I wanna wait to PR them until I can test them more. |
|
|
||
|
|
||
| const fetchOpportunities = async () => { | ||
| const fetchOpportunities = useCallback(async () => { |
There was a problem hiding this comment.
good thinking, this should help reduce calls to the backend
modified: src/opportunities/pages/IndividualPost.tsx
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
How Has This Been Tested?
Running npm start and checking frontend display
Checklist: