diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2022-12-20 12:18:15 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-20 16:18:15 +0100 |
commit | 1742bb60204a21cc11c6c19fdcd699be26cac383 (patch) | |
tree | 7d270e6970446b26b8d7916a93b2cda90a4e500e /src/plugins | |
parent | 0743c1215e539765cf4ea90a690ccdbab8a2cb55 (diff) | |
download | Vencord-1742bb60204a21cc11c6c19fdcd699be26cac383.tar.gz Vencord-1742bb60204a21cc11c6c19fdcd699be26cac383.tar.bz2 Vencord-1742bb60204a21cc11c6c19fdcd699be26cac383.zip |
Fix StartupTimings (#353)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/startupTimings/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/startupTimings/index.tsx b/src/plugins/startupTimings/index.tsx index 1dd7139..2ab00a6 100644 --- a/src/plugins/startupTimings/index.tsx +++ b/src/plugins/startupTimings/index.tsx @@ -28,8 +28,8 @@ export default definePlugin({ patches: [{ find: "PAYMENT_FLOW_MODAL_TEST_PAGE,", replacement: { - match: /({section:[\w.]+?\.PAYMENT_FLOW_MODAL_TEST_PAGE,)/, - replace: '{section:"StartupTimings",label:"Startup Timings",element:Vencord.Plugins.plugins.StartupTimings.StartupTimingPage},$1' + match: /{section:.{1,2}\..{1,3}\.PAYMENT_FLOW_MODAL_TEST_PAGE/, + replace: '{section:"StartupTimings",label:"Startup Timings",element:Vencord.Plugins.plugins.StartupTimings.StartupTimingPage},$&' } }], StartupTimingPage: LazyComponent(() => require("./StartupTimingPage").default) |