From d95be1acbaa282c53508a33d85cdda2ea76c50da Mon Sep 17 00:00:00 2001
From: fawn <fawn@envs.net>
Date: Fri, 10 Feb 2023 21:41:49 +0000
Subject: refactor: update plugins to use `$self` (#478)

Co-authored-by: Ven <vendicated@riseup.net>
---
 src/plugins/startupTimings/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/plugins/startupTimings/index.tsx')

diff --git a/src/plugins/startupTimings/index.tsx b/src/plugins/startupTimings/index.tsx
index 2ab00a6..5d66f5f 100644
--- a/src/plugins/startupTimings/index.tsx
+++ b/src/plugins/startupTimings/index.tsx
@@ -29,7 +29,7 @@ export default definePlugin({
         find: "PAYMENT_FLOW_MODAL_TEST_PAGE,",
         replacement: {
             match: /{section:.{1,2}\..{1,3}\.PAYMENT_FLOW_MODAL_TEST_PAGE/,
-            replace: '{section:"StartupTimings",label:"Startup Timings",element:Vencord.Plugins.plugins.StartupTimings.StartupTimingPage},$&'
+            replace: '{section:"StartupTimings",label:"Startup Timings",element:$self.StartupTimingPage},$&'
         }
     }],
     StartupTimingPage: LazyComponent(() => require("./StartupTimingPage").default)
-- 
cgit 

