mirror of
https://github.com/Equicord/Equicord.git
synced 2025-07-03 02:03:58 -04:00
Fixed lint error
This commit is contained in:
parent
4269a8dd5b
commit
ae8a498e07
1 changed files with 20 additions and 20 deletions
|
@ -1,20 +1,20 @@
|
||||||
/*
|
/*
|
||||||
* Vencord, a Discord client mod
|
* Vencord, a Discord client mod
|
||||||
* Copyright (c) 2025 Vendicated and contributors*
|
* Copyright (c) 2025 Vendicated and contributors
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import "./styles.css";
|
import "./styles.css";
|
||||||
|
|
||||||
import ErrorBoundary from "@components/ErrorBoundary";
|
import ErrorBoundary from "@components/ErrorBoundary";
|
||||||
|
import { EquicordDevs } from "@utils/constants";
|
||||||
|
import { Logger } from "@utils/Logger";
|
||||||
|
import definePlugin from "@utils/types";
|
||||||
import { findByCodeLazy } from "@webpack";
|
import { findByCodeLazy } from "@webpack";
|
||||||
import { React } from "@webpack/common";
|
import { React } from "@webpack/common";
|
||||||
import definePlugin from "@utils/types";
|
|
||||||
|
|
||||||
import { Logger } from "@utils/Logger";
|
|
||||||
import { settings } from "./utils/settings";
|
|
||||||
import { GitHubReposComponent } from "./components/GitHubReposComponent";
|
import { GitHubReposComponent } from "./components/GitHubReposComponent";
|
||||||
import { Devs } from "@utils/constants";
|
import { settings } from "./utils/settings";
|
||||||
|
|
||||||
const getProfileThemeProps = findByCodeLazy(".getPreviewThemeColors", "primaryColor:");
|
const getProfileThemeProps = findByCodeLazy(".getPreviewThemeColors", "primaryColor:");
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ const profilePopoutComponent = ErrorBoundary.wrap(
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
noop: true,
|
noop: true,
|
||||||
onError: (err) => {
|
onError: err => {
|
||||||
logger.error("Error in profile popout component", err);
|
logger.error("Error in profile popout component", err);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ const profilePopoutComponent = ErrorBoundary.wrap(
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "GitHubRepos",
|
name: "GitHubRepos",
|
||||||
description: "Displays a user's public GitHub repositories in their profile",
|
description: "Displays a user's public GitHub repositories in their profile",
|
||||||
authors: [Devs.talhakf],
|
authors: [EquicordDevs.talhakf],
|
||||||
settings,
|
settings,
|
||||||
|
|
||||||
patches: [
|
patches: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue