aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegumin <megumin.bakaretsurie@gmail.com>2022-11-19 15:52:17 +0000
committerGitHub <noreply@github.com>2022-11-19 15:52:17 +0000
commit7ff2d2ba8a371d774f220ba5411082bfe95af3a1 (patch)
tree12771d1cbd6e042a981f11a4a6622ee89814fa79
parenta5154d628350e7d46acee05ab6fe0317462d000e (diff)
downloadVencord-7ff2d2ba8a371d774f220ba5411082bfe95af3a1.tar.gz
Vencord-7ff2d2ba8a371d774f220ba5411082bfe95af3a1.tar.bz2
Vencord-7ff2d2ba8a371d774f220ba5411082bfe95af3a1.zip
fix startup timings page (#219)
-rw-r--r--src/plugins/startupTimings/StartupTimingPage.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/startupTimings/StartupTimingPage.tsx b/src/plugins/startupTimings/StartupTimingPage.tsx
index 7d8e86b..f0c14ed 100644
--- a/src/plugins/startupTimings/StartupTimingPage.tsx
+++ b/src/plugins/startupTimings/StartupTimingPage.tsx
@@ -89,7 +89,7 @@ function TimingSection({ title, logs, traceEnd }: TimingSectionProps) {
});
return (
- <Forms.FormSection title={title} tag={Forms.FormTitle.Tags.H1}>
+ <Forms.FormSection title={title} tag="h1">
<code>
{traceEnd && (
<div style={{ color: "var(--header-primary)", marginBottom: 5, userSelect: "text" }}>
@@ -118,7 +118,7 @@ function ServerTrace({ trace }: ServerTraceProps) {
const lines = trace.split("\n");
return (
- <Forms.FormSection title="Server Trace" tag={Forms.FormTitle.Tags.H2}>
+ <Forms.FormSection title="Server Trace" tag="h2">
<code>
<Flex flexDirection="column" style={{ color: "var(--header-primary)", gap: 5, userSelect: "text" }}>
{lines.map(line => (