Skip to content

Commit 6c6d45d

Browse files
committed
use UNSAFE for method names
1 parent a633e7d commit 6c6d45d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.ts/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ export class Controlled extends React.Component<IControlledCodeMirror, any> {
551551
}
552552

553553
/** @internal */
554-
public componentWillReceiveProps(nextProps) {
554+
public UNSAFE_componentWillReceiveProps(nextProps) {
555555

556556
if (SERVER_RENDERED) return;
557557

@@ -736,7 +736,7 @@ export class UnControlled extends React.Component<IUnControlledCodeMirror, any>
736736
}
737737

738738
/** @internal */
739-
public componentWillReceiveProps(nextProps) {
739+
public UNSAFE_componentWillReceiveProps(nextProps) {
740740

741741
if (this.detached && (nextProps.detach === false)) {
742742
this.detached = false;

0 commit comments

Comments
 (0)