Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8887ce2

Browse files
committed
fix: some error
1 parentbaca5da commit8887ce2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"dob-react-devtools",
3-
"version":"1.0.4",
3+
"version":"1.0.5",
44
"description":"",
55
"main":"built/index.js",
66
"scripts": {

‎src/debug-wrapper/debug-wrapper.component.tsx‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,12 @@ export class DebugWrapper extends React.PureComponent<Props, State>{
5252
this.realChildDOM.removeEventListener('mouseleave',this.handleMouseLeave)
5353
}
5454

55-
ReactDOM.unmountComponentAtNode(this.debugContainer)
56-
document.querySelector('body').removeChild(this.debugContainer)
55+
try{
56+
ReactDOM.unmountComponentAtNode(this.debugContainer)
57+
document.querySelector('body').removeChild(this.debugContainer)
58+
}catch(error){
59+
60+
}
5761
}
5862

5963
publiccomponentDidMount(){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp