openfisca / legislation-explorer

Explore legislation formulas and parameters.
https://legislation.demo.openfisca.org
GNU Affero General Public License v3.0
26 stars 12 forks source link

Make Parameter and Scale description not required anymore #61

Closed cbenz closed 7 years ago

cbenz commented 7 years ago

Precedes #59

In order to keep PRs atomic, I create this one dedicated to fix a warning I didn't see during development:

[0] Warning: Failed prop type: Invalid prop `parameters[749]` supplied to `HomePage`.
[0]     in HomePage (created by RouterContext)
[0]     in RouterContext
[0]     in IntlProvider
[0] Warning: Failed prop type: Invalid prop `parameters[749]` supplied to `App`.
[0]     in App (created by RouterContext)
[0]     in RouterContext
[0]     in IntlProvider

The prop-types system is specific to React and overlaps with a type-checking system; but it's here so better fix it.