Simone Saturno
d2ed3e54ee
refactor: replaced injectIntl with useIntl (#1239)
* refactor: replaced injectIntl with useIntl
* test: update tests for useIntl hook implementation
* fix: add missing trailing comma
* test: fix failing component tests and remove deprecated defaultProps
- Fix SwitchContent component defaultProps warning with default parameters
- Fix Visibility component formatMessage errors and remove defaultProps
- Fix FormControls component intl provider issues with useIntl mock
- Fix EditButton component defaultProps and message formatting
- Update EditableItemHeader, EmptyContent components
- Replace React defaultProps with ES6 default parameters across components
- Update test mocking to properly handle useIntl hook
- All 82 tests now pass (previously 4 failed, 78 passed)
Resolves React deprecation warnings and modernizes component patterns.
* fix: add missing trailing comma
2025-08-18 10:00:13 -04:00
..
2025-08-18 10:00:13 -04:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2019-11-25 09:29:14 -05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2025-07-11 11:09:13 +05:00
2019-11-25 09:29:14 -05:00