pepfar-datim / datim-mechanism-finder

DATIM app for finding mechanisms
Other
0 stars 0 forks source link

Incorrect card heights #53

Closed tomzemp closed 4 years ago

tomzemp commented 4 years ago

When working on updating header bar (#52), noticed inconsistent heights for cards when deployed:

image

tomzemp commented 4 years ago

issue was that card height was not being updated as only set in componentDidMount hook. Added to componentDidUpdate hook (and slightly rewrote)