File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
core/ui/settings/pages/Developer Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const { showSimpleActionSheet } = lazyDestructure(() => findByProps("showSimpleA
2121const { openAlert } = lazyDestructure ( ( ) => findByProps ( "openAlert" , "dismissAlert" ) ) ;
2222const { AlertModal, AlertActionButton } = lazyDestructure ( ( ) => findByProps ( "AlertModal" , "AlertActions" ) ) ;
2323
24- const RDT_EMBED_LINK = "https://github.com/revenge-mod/react-devtools-core/releases/latest/download/rdtc.js " ;
24+ const RDT_EMBED_LINK = "https://github.com/revenge-mod/react-devtools-core/releases/latest/download/index.bundle " ;
2525
2626const useStyles = createStyles ( {
2727 leadingText : {
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export function getThemeFilePath() {
150150
151151export function isReactDevToolsPreloaded ( ) {
152152 if ( isPyonLoader ( ) ) {
153- return Boolean ( window . __reactDevTools ) ;
153+ return Boolean ( window . __REACT_DEVTOOLS__ ) ;
154154 }
155155 if ( isVendettaLoader ( ) ) {
156156 return vendettaLoaderIdentity ! ! . features . devtools != null ;
@@ -163,7 +163,7 @@ export function getReactDevToolsProp(): string | null {
163163 if ( ! isReactDevToolsPreloaded ( ) ) return null ;
164164
165165 if ( isPyonLoader ( ) ) {
166- window . __pyoncord_rdt = window . __reactDevTools . exports ;
166+ window . __pyoncord_rdt = window . __REACT_DEVTOOLS__ . exports ;
167167 return "__pyoncord_rdt" ;
168168 }
169169
@@ -178,7 +178,7 @@ export function getReactDevToolsVersion() {
178178 if ( ! isReactDevToolsPreloaded ( ) ) return null ;
179179
180180 if ( isPyonLoader ( ) ) {
181- return window . __reactDevTools . version || null ;
181+ return window . __REACT_DEVTOOLS__ . version || null ;
182182 }
183183 if ( isVendettaLoader ( ) ) {
184184 return vendettaLoaderIdentity ! ! . features . devtools ! ! . version ;
You can’t perform that action at this time.
0 commit comments