Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/company details management page #524

Conversation

CuriousCoder00
Copy link
Contributor

demo.video.2.mp4

fixed the bugs and everything continuing from #496

CuriousCoder00 and others added 26 commits October 9, 2024 10:49
…separate companyName and companyLogo properties
- Removed the unused dependency "100xdevs-job-board" from package.json
- Simplified the rendering of the company page by removing unnecessary div container and flex styling
- Updated the date format in the CompanyTable component to use toDateString() instead of toLocaleDateString()
- Added a window.location.reload() to refresh the company list after deleting a company
- Removed the unused router and pathName variables in the CompanyTable component
- Removed the unused random input styling in the DeleteAccountDialog component
This commit refactors the code in the CompanyTable component to add missing dependencies and update the page rendering logic. The useEffect hook is now used to fetch companies when the 'companies' state variable changes. Additionally, the code now checks the session status and redirects to the sign-in page if the user is unauthenticated. These changes improve the functionality and maintainability of the component.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants