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

TypeError: Cannot read properties of null (reading 'find') #4644

Closed
sentry-sentry-incubateur-net bot opened this issue Oct 7, 2024 · 1 comment · Fixed by #4645
Closed

TypeError: Cannot read properties of null (reading 'find') #4644

sentry-sentry-incubateur-net bot opened this issue Oct 7, 2024 · 1 comment · Fixed by #4645
Assignees

Comments

@sentry-sentry-incubateur-net
Copy link

TypeError: Cannot read properties of null (reading 'find')
  at <anonymous> (../../../../src/router.ts:362:51)
  at new Promise (<anonymous>)
@jenovateurs
Copy link
Contributor

    const hasStoreChild = store.situation.enfants.find(

      (enfant) => enfant.id === `enfant_${id_enfant}`

    )

//null is not an object (evaluating 's.situation.enfants.find')

@jenovateurs jenovateurs linked a pull request Oct 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Terminé (17/10/2025)
Development

Successfully merging a pull request may close this issue.

1 participant