Refactors the function that chooses the recommended reading to use the lodash .sampleSize() method instead of a custom function
Refactors the <PostTile /> component to accept named props instead of just node
Refactors the recommended reading list to use <PostTile />βthis means that link posts within recommended reading list now properly include the trailing π icon
What does this PR do?
This PR:
.sampleSize()
method instead of a custom function<PostTile />
component to accept named props instead of justnode
<PostTile />
βthis means that link posts within recommended reading list now properly include the trailing π iconDoes this relate to an open issue?
Closes https://github.com/thetrevorharmon/thetrevorharmon.com/issues/187
Checklist before merge
yarn tophat
locally to ensure that it builds correctly OR I have verified it builds with a deploy preview.