Skip to content

Commit

Permalink
Set ref correctly on inner blocks (#23016)
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan authored Jun 9, 2020
1 parent e0b1d1d commit a139d70
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/block-editor/src/components/inner-blocks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,7 @@ function UncontrolledInnerBlocks( props ) {
return blockList;
}

return (
<div className="block-editor-inner-blocks" ref={ forwardedRef }>
{ blockList }
</div>
);
return <div className="block-editor-inner-blocks">{ blockList }</div>;
}

/**
Expand Down

0 comments on commit a139d70

Please sign in to comment.