From 84c3b039c385ad872bb0f22eba7a3d2cd4a5ea10 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Mon, 24 Oct 2022 19:14:56 -0400 Subject: preview 10/21/2022 fixes (#234) * initial fixes: everything working except toasts and patch notes * tabshook changes, disable toaster for now * prettier * oops * implement custom toaster because I am tired of Valve's shit also fix QAM not injecting sometimes * remove extra logging * add findSP, fix patch notes, fix vscode screwup * fix patch notes * show error when plugin frontends fail to load * add get_tab_lambda * add css and has_element helpers to Tab * small modals fixup * Don't forceUpdate QuickAccess on stable * add routes prop used to get tabs component * add more dev utils to DFL global --- frontend/src/developer.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'frontend/src/developer.tsx') diff --git a/frontend/src/developer.tsx b/frontend/src/developer.tsx index b1fe74d6..3b2812fc 100644 --- a/frontend/src/developer.tsx +++ b/frontend/src/developer.tsx @@ -1,6 +1,9 @@ import { ReactRouter, Router, + fakeRenderComponent, + findInReactTree, + findInTree, findModule, findModuleChild, gamepadDialogClasses, @@ -71,6 +74,11 @@ export async function startup() { window.DFL = { findModuleChild, findModule, + ReactUtils: { + fakeRenderComponent, + findInReactTree, + findInTree, + }, Router, ReactRouter, classes: { -- cgit v1.2.3