src/app/models/blocks/index.js
Function bylineBlock
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const bylineBlock = (text, id = null) => {
const fragment = singleFragmentBlock(`@${text}`, id);
const urlLink = optionalIdBlock(
blockBase('urlLink', {
text: `@${text}`,