-
Notifications
You must be signed in to change notification settings - Fork 72
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
🎨🔥 change la recherche d'entreprise #705
Conversation
johangirod
commented
Oct 1, 2019
•
edited
Loading
edited
- On utilise un nouveau composant qui se base sur la dernière version de l'api SIRENE
- On sépare les données entre la simulation des cotisations et la création d'entreprise
d1e9247
to
e9b3936
Compare
- On utilise un nouveau composant qui se base sur la dernière version de l'api SIRENE - On sépare les données entre la simulation des cotisations et la création d'entreprise - On gagne des lignes !
f05ae98
to
a967a8f
Compare
a967a8f
to
1abdc66
Compare
Le bouton « J'ai déjà déclaré mon entreprise » ne fonctionne pas sur https://deploy-preview-705--syso.netlify.com/entreprise/statut-juridique |
Je le supprime, il n'a pas de logique de l'afficher à ce moment là. |
type: 'EXISTING_COMPANY::SET_SIREN', | ||
siren | ||
}) | ||
const companyDetails = await fetchCompanyDetails(siren) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il est possible que companyDetails
soit null
ce qui fait planter le site.
https://sentry.data.gouv.fr/betagouvfr/mon-entreprise/issues/1862838/
Une solution triviale c'est de rajouter un if (companyDetails === null) return
mais il y a peut-être mieux pour gérer l'ensemble des requêtes réseau ?