diff options
Diffstat (limited to 'frontend/src/developer.tsx')
| -rw-r--r-- | frontend/src/developer.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/developer.tsx b/frontend/src/developer.tsx index 43f550d7..8bd09812 100644 --- a/frontend/src/developer.tsx +++ b/frontend/src/developer.tsx @@ -50,9 +50,7 @@ export async function setShouldConnectToReactDevTools(enable: boolean) { icon: <FaReact />, }); await sleep(5000); - return enable - ? window.DeckyPluginLoader.callServerMethod('enable_rdt') - : window.DeckyPluginLoader.callServerMethod('disable_rdt'); + return enable ? window.DeckyBackend.call('utilities/enable_rdt') : window.DeckyBackend.call('utilities/disable_rdt'); } export async function startup() { |
