Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Commit 2dfcd98

Browse files
authored
Remove noRender deprecatation warning
1 parent 9c9bf9c commit 2dfcd98

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/components/playground.jsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,6 @@ class ReactPlayground extends Component {
7070
selectedLines,
7171
theme } = this.props;
7272

73-
if (this.props.noRender === false) {
74-
if (process.env.NODE_ENV !== "production") {
75-
/* eslint-disable no-console, no-undef, max-len */
76-
if (typeof console !== "undefined" && console.warn) {
77-
console.warn(`
78-
Deprecation warning: noRender is being deprecated in favor of wrapped components and will be removed in the 1.x release.
79-
https://github.com/FormidableLabs/component-playground/issues/19 for details.
80-
`);
81-
}
82-
/* eslint-enable no-console, no-undef, max-len */
83-
}
84-
}
85-
8673
return (
8774
<div className={`playground${collapsableCode ? " collapsableCode" : ""}`}>
8875
{

0 commit comments

Comments
 (0)