Financial-Times / x-dash

:x::heavy_minus_sign::newspaper: shared front-end components for FT.com and the FT Apps
https://financial-times.github.io/x-dash
38 stars 6 forks source link

Get highlightsClassName from state #710

Closed AnnaDraganova closed 1 year ago

AnnaDraganova commented 1 year ago

Description

The highlights checkbox is visible even when the article has no highlights. Switched to get the highlightsClassName property from the state instead of initialProps.