File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,23 +3,26 @@ import React from 'react'
33export function ErrorComponent ( ) {
44 return (
55 < div style = { { fontWeight : 500 , padding : '8px' } } >
6- An error occurred while collecting the measures. To resolve this error,
7- try these solutions:
6+ An error occurred while collecting the measures. This is possibly due to
87 < ul >
98 < li >
10- Make sure you have registered a top level observer in your project.{ ' ' }
9+ absence of register observer hook in your project.{ ' ' }
1110 < a
1211 href = "https://github.com/nitin42/react-perf-devtool/tree/v2#using-the-browser-extension"
1312 style = { { textDecoration : 'none' } }
13+ target = "_blank"
1414 >
1515 See the detailed documentation
1616 </ a > { ' ' }
17- on how to register a top level listener (an observer) in your React
18- project app.
17+ on how to register a top level observer in your React application.
1918 </ li >
2019 < br />
21- < li > Refresh the the page or reload the inspected window .</ li >
20+ < li > your project is not using React .</ li >
2221 </ ul >
22+ < p >
23+ If above solutions don't work, then try reloading the plugin or close
24+ and reopen the inspected window.
25+ </ p >
2326 </ div >
2427 )
2528}
You can’t perform that action at this time.
0 commit comments