Closed mboynes closed 7 months ago
setBylineMeta() is a higher-order function, and was previously called using,
setBylineMeta()
const saveByline = setBylineMeta(dispatch, metaKey);
When we added useCallback, it inadvertently added a function layer, leading to setBylineMeta() not actually being called. This ultimately meant that bylines were not updated when saving a post.
setBylineMeta()
is a higher-order function, and was previously called using,When we added useCallback, it inadvertently added a function layer, leading to
setBylineMeta()
not actually being called. This ultimately meant that bylines were not updated when saving a post.