Skip to content

Commit

Permalink
Fix incorrect example for ServerSideRender docs (#18592)
Browse files Browse the repository at this point in the history
`ServerSideRender` is exported on the default so the import example was wrong.
  • Loading branch information
nerrad authored and mkaz committed Nov 19, 2019
1 parent 6fc0b70 commit b911e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server-side-render/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ This is a [render prop](https://reactjs.org/docs/render-props.html). While the r
Render core/archives preview.

```jsx
import { ServerSideRender } from '@wordpress/server-side-render';
import ServerSideRender from '@wordpress/server-side-render';

const MyServerSideRender = () => (
<ServerSideRender
Expand Down

0 comments on commit b911e1d

Please sign in to comment.