Skip to content

Commit

Permalink
Fix deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 4, 2018
1 parent 50b8372 commit 93f9bfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editor/components/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Block Creation Component
// Block Creation Components
export { default as Autocomplete } from './autocomplete';
export * from './autocompleters';
export { default as AlignmentToolbar } from './alignment-toolbar';
Expand Down
2 changes: 1 addition & 1 deletion editor/deprecated.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ forEach( functionsToDeprecate, ( wrappedFunction, key ) => {
alternative: 'wp.editor.' + key,
plugin: 'Gutenberg',
} );
wrappedFunction( ...args );
return wrappedFunction( ...args );
};
} );

0 comments on commit 93f9bfc

Please sign in to comment.