Skip to content

Commit

Permalink
Merge pull request #250 from jadmsaadaot/fix-call-create-staff-loop
Browse files Browse the repository at this point in the history
fix - create staff in loop
  • Loading branch information
jadmsaadaot authored Jan 21, 2025
2 parents efc2803 + 2591916 commit a9eccc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions submit-web/src/routes/staff/_staffLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function Staff() {
useEffect(() => {
if (userData && kcUser && !isCreatingStaffUserPending) {
if (!userData.staff_user) {
console.log(userData);

Check failure on line 87 in submit-web/src/routes/staff/_staffLayout.tsx

View workflow job for this annotation

GitHub Actions / linting (18.x)

Unexpected console statement
const staffUser = {
auth_guid: kcUser.profile.sub,
first_name: kcUser.profile.given_name,
Expand Down

0 comments on commit a9eccc1

Please sign in to comment.