Skip to content

Commit

Permalink
Update docs/designers-developers/developers/tutorials/metabox/meta-bl…
Browse files Browse the repository at this point in the history
…ock-3-add.md

Co-Authored-By: nosolosw <[email protected]>
  • Loading branch information
2 people authored and oandregal committed Feb 21, 2019
1 parent b1bcf7f commit c7c4e7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Add this code to your JavaScript file (this tutorial will call the file `myguten
{% ESNext %}
```jsx

var registerBlockType = wp.blocks.registerBlockType;
const { registerBlockType } = wp.blocks;
const { TextControl } = wp.components;

registerBlockType( 'myguten/meta-block', {
Expand Down

0 comments on commit c7c4e7a

Please sign in to comment.