Skip to content

Commit d03d6f1

Browse files
abdullah1908Ahmad Awais ⚡️
authored andcommitted
👌 IMPROVE: 'save' function props (#41) FIX #29
FIX #29
1 parent 7a6030a commit d03d6f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/cgb-scripts/template/src/block

packages/cgb-scripts/template/src/block/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ registerBlockType( 'cgb/block-<% blockName %>', {
7474
*/
7575
save: function( props ) {
7676
return (
77-
<div className={ props.className }>
77+
<div>
7878
<p>— Hello from the frontend.</p>
7979
<p>
8080
CGB BLOCK: <code><% blockName %></code> is a new Gutenberg block.

0 commit comments

Comments
 (0)