diff --git a/src/editors/sharedComponents/InsertLinkModal/BlocksList/index.jsx b/src/editors/sharedComponents/InsertLinkModal/BlocksList/index.jsx index 38cdf04dd..b3d8ac48b 100644 --- a/src/editors/sharedComponents/InsertLinkModal/BlocksList/index.jsx +++ b/src/editors/sharedComponents/InsertLinkModal/BlocksList/index.jsx @@ -31,11 +31,11 @@ const BlocksList = ({ blocks, onBlockSelected }) => { }); const sections = getSectionsList(blocks); - const subSections = getChildrenFromList( + const subsections = getChildrenFromList( blockState.blockSelected, blocks, ); - const listItems = blockState.hasNavigated ? subSections : sections; + const listItems = blockState.hasNavigated ? subsections : sections; const isBlockSelectedUnit = blockState.type === blockTypes.unit; const blockNameButtonClass = isBlockSelectedUnit ? 'col-12' : 'col-11';