From bcf87fa3828963f6d73e4cdc6cfadf2874d29e42 Mon Sep 17 00:00:00 2001
From: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Date: Sat, 9 May 2026 17:01:12 -0400
Subject: [PATCH] Revert "CallTimer: Fix timer again apperantly its not
resetting now"
This reverts commit 6cd67134fbef6f65be3b1dc94c5deb5541fb6669.
---
src/plugins/callTimer/index.tsx | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/plugins/callTimer/index.tsx b/src/plugins/callTimer/index.tsx
index cfb939c28..9d32ad5ec 100644
--- a/src/plugins/callTimer/index.tsx
+++ b/src/plugins/callTimer/index.tsx
@@ -7,7 +7,7 @@
import { definePluginSettings } from "@api/Settings";
import ErrorBoundary from "@components/ErrorBoundary";
import { Devs, EquicordDevs } from "@utils/constants";
-import { useTimer } from "@utils/react";
+import { useFixedTimer } from "@utils/react";
import { formatDurationMs } from "@utils/text";
import definePlugin, { OptionType } from "@utils/types";
import { PassiveUpdateState, VoiceState } from "@vencord/discord-types";
@@ -264,14 +264,17 @@ export default definePlugin({
);
},
- renderConnectionTimer({ channelId }: { channelId: string; }) {
+ renderConnectionTimer({ channelId }: { channelId: string | undefined; }) {
return