Skip to content

Commit

Permalink
fix(docz-theme-default): rename playground container to avoid conflic…
Browse files Browse the repository at this point in the history
…ts (#429)
  • Loading branch information
blackdahila authored and pedronauck committed Oct 30, 2018
1 parent 10a3eda commit 86845bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,13 +413,13 @@ class RenderBase extends Component<RenderProps, RenderState> {

private transformCode(code: string): string {
return `
const App = ({ children }) => (
const DoczApp = ({ children }) => (
<React.Fragment>
{children && typeof children === 'function' ? children() : children}
</React.Fragment>
)
render(<App>${code}</App>)
render(<DoczApp>${code}</DoczApp>)
`
}

Expand Down

0 comments on commit 86845bf

Please sign in to comment.