Skip to content

Commit bfd2d3c

Browse files
modified error messages. updated manifest ver from 4 to 3
1 parent cb28182 commit bfd2d3c

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/app/components/ErrorMsg.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ function ErrorMsg({ loadingArray, status, launchContent }): JSX.Element {
3131
case 'Content Script Error':
3232
return (
3333
<div>
34-
If you encounter this error on the initial launch of Reactime, refresh the webpage you are developing.
34+
Could not connect to the Target App. Try closing Reactime and reloading the page.
3535
<br />
3636
<br />
37-
Could not connect to the Target App. Try closing Reactime and reloading the page.
37+
If you encounter this error on the initial launch of Reactime, refresh the webpage you are developing.
38+
<br />
39+
If Reactime is running as an iframe in your developer tools, right click on the Reactime application and click 'Reload Frame'
3840
<br />
3941
<br />
4042
NOTE: By default Reactime only launches the content script on URLS starting with
@@ -52,10 +54,12 @@ function ErrorMsg({ loadingArray, status, launchContent }): JSX.Element {
5254
case 'RDT Error':
5355
return (
5456
<div>
55-
If you encounter this error on the initial launch of Reactime, refresh the webpage you are developing.
57+
React Dev Tools is not installed!
58+
<br />
5659
<br />
60+
If you encounter this error on the initial launch of Reactime, refresh the webpage you are developing.
5761
<br />
58-
React Dev Tools isnt installed!
62+
If Reactime is running as an iframe in your developer tools, right click on the Reactime application and click 'Reload Frame'
5963
<br />
6064
<br />
6165
<a

src/extension/build/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "21.0.0",
44
"devtools_page": "devtools.html",
55
"description": "A Chrome extension that helps debug React applications by memorizing the state of components with every render.",
6-
"manifest_version": 4,
6+
"manifest_version": 3,
77
"background": {
88
"service_worker": "bundles/background.bundle.js"
99
},

0 commit comments

Comments
 (0)