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-07-11 11:09:13 +05:00
2025-08-18 10:00:13 -04:00
2024-03-20 09:31:47 -04:00
2025-07-10 10:12:21 +05:00
2025-08-13 15:25:45 -04:00
2025-08-18 10:00:13 -04:00
2025-07-11 11:09:13 +05:00
2023-09-05 14:55:23 -04:00
2025-07-11 17:33:47 +05:00
2025-07-11 11:09:13 +05:00
2023-12-19 15:02:27 +05:00