Computing-For-All / nextjs-issue-tracker

Repository created to manage the UAT (User Acceptance Testing) workflow for the Next.js website. This repo will serve as a central hub for tracking issues, feedback, and improvements identified during testing phases, ensuring a smooth and efficient UAT process.
0 stars 0 forks source link

App Crashed when creating employer #138

Open not-damien opened 6 days ago

not-damien commented 6 days ago

Duplicate Check

Issue Type

Bug

Issue Description

runtimeError

URL of the Page

https://www.watechwfcoalition.org/edit-profile/employer/disclosures

Git commit hash shown on the site

7817033

Steps to Reproduce

create an employer account try to add a company

Expected Behavior

No response

Additional Context

No response

Recommended Priority Level

High

theGaryLarson commented 4 days ago

The session is not guaranteed to update which was causing the error. The API in the work location component was leveraging session.user.companyId.

Fix: Used redux store instead to get the data

Fix is merged into main but was implemented in this branch.