Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Update Activity List to Gutenberg changes
Browse files Browse the repository at this point in the history
Also use the <ServerSideRender> component.
This is a dynamic block.
  • Loading branch information
kienstra committed Apr 2, 2019
1 parent 3cf8cad commit aeea2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/activity-list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default registerBlockType(

return [
isSelected && (
<InspectorControls key="inspector">
<InspectorControls key="activity-inspector">
<PanelBody title={ __( 'Activity List settings', 'travel' ) }>
<TextControl
label={ __( 'Activity List Header', 'travel' ) }
Expand All @@ -41,7 +41,7 @@ export default registerBlockType(
</InspectorControls>
),

<Fragment key="fragment-ssr">
<Fragment key="activity-ssr">
<ServerSideRender
block={ blockName }
attributes={ attributes }
Expand Down

0 comments on commit aeea2b0

Please sign in to comment.