mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
1ad0ef6d78
With the badge and toast options gone from usePhotoProviderConnections, the desktop and phone cards called the hook identically and then derived the same seven per card values (fields, config, values, badge, testing, whether save and test have a route) line for line, which lint:dup counts as a copied block of 25 lines in MPhotoProvidersSection.tsx. The hook now hands each card those values through providerCard, and both views keep only their markup. Nothing the user sees changes. New test FE-COMP-PHOTOCONN-011 covers providerCard. No existing assertion changed.