aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/startupTimings/index.tsx
diff options
context:
space:
mode:
authorfawn <fawn@envs.net>2023-02-10 21:41:49 +0000
committerGitHub <noreply@github.com>2023-02-10 22:41:49 +0100
commitd95be1acbaa282c53508a33d85cdda2ea76c50da (patch)
tree48145b1ff9c4455956d48c8b3c840323167fa96e /src/plugins/startupTimings/index.tsx
parent1d995e58f515dbeb908ba34bf70f829bfd3ccfac (diff)
downloadVencord-d95be1acbaa282c53508a33d85cdda2ea76c50da.tar.gz
Vencord-d95be1acbaa282c53508a33d85cdda2ea76c50da.tar.bz2
Vencord-d95be1acbaa282c53508a33d85cdda2ea76c50da.zip
refactor: update plugins to use `$self` (#478)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/plugins/startupTimings/index.tsx')
-rw-r--r--src/plugins/startupTimings/index.tsx2
1 files changed, 1 insertions, 1 deletions
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)