From 7355c982980a76da851e2bfb9886ef9d2a0fa8e8 Mon Sep 17 00:00:00 2001
From: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Date: Tue, 7 Oct 2025 10:49:02 -0400
Subject: [PATCH] GithubRepos: Remove Logger
---
src/equicordplugins/githubRepos/index.tsx | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/src/equicordplugins/githubRepos/index.tsx b/src/equicordplugins/githubRepos/index.tsx
index cababa20f..bf8660bb2 100644
--- a/src/equicordplugins/githubRepos/index.tsx
+++ b/src/equicordplugins/githubRepos/index.tsx
@@ -9,7 +9,6 @@ import "./styles.css";
import { definePluginSettings } from "@api/Settings";
import ErrorBoundary from "@components/ErrorBoundary";
import { EquicordDevs } from "@utils/constants";
-import { Logger } from "@utils/Logger";
import definePlugin, { OptionType } from "@utils/types";
import { User } from "@vencord/discord-types";
import { findByCodeLazy } from "@webpack";
@@ -38,9 +37,6 @@ export const settings = definePluginSettings({
const getProfileThemeProps = findByCodeLazy(".getPreviewThemeColors", "primaryColor:");
-const logger = new Logger("GitHubRepos");
-logger.info("Plugin loaded");
-
const ProfilePopoutComponent = ErrorBoundary.wrap(
(props: { user: User; displayProfile?: any; }) => {
return (
@@ -53,11 +49,9 @@ const ProfilePopoutComponent = ErrorBoundary.wrap(
},
{
noop: true,
- onError: err => {
- logger.error("Error in profile popout component", err);
- return
- Error, Failed to render GithubRepos;
- }
+ fallback: () =>
+ Error, Failed to render GithubRepos
+
}
);