From 74d63a22615c6bee579998fbe57493a656f9dc17 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Sat, 3 Aug 2024 08:15:11 -0400 Subject: [PATCH] fix linter --- src/plugins/rpcEditor/ReplaceSettings.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/plugins/rpcEditor/ReplaceSettings.tsx b/src/plugins/rpcEditor/ReplaceSettings.tsx index 4811a0751..824597f31 100644 --- a/src/plugins/rpcEditor/ReplaceSettings.tsx +++ b/src/plugins/rpcEditor/ReplaceSettings.tsx @@ -1,13 +1,12 @@ /* -* Vencord, a Discord client mod -* Copyright (c) 2024 Vendicated and contributors -* SPDX-License-Identifier: GPL-3.0-or-later -*/ + * Vencord, a Discord client mod + * Copyright (c) 2024 Vendicated and contributors + * SPDX-License-Identifier: GPL-3.0-or-later + */ import { CheckedTextInput } from "@components/CheckedTextInput"; import { Margins } from "@utils/margins"; import { identity } from "@utils/misc"; -import { findByPropsLazy } from "@webpack"; import { Card, Forms, PresenceStore, React, Select, SnowflakeUtils, Switch, TextInput, UserStore } from "@webpack/common"; import { Activity, ActivityType, AppIdSetting, makeEmptyAppId } from "."; @@ -120,7 +119,7 @@ export function ReplaceSettings({ appIds, update, save }: SettingsProps) { Stream URL (must be YouTube or Twitch) { + onChange={async v => { onChange(v, i, "newStreamUrl"); }} validate={v => {