From da0a4e0a6b3870400253bc938cca0a16218aa555 Mon Sep 17 00:00:00 2001 From: coso Date: Thu, 26 Feb 2026 19:39:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E9=87=8D=E5=A4=8D=E7=9A=84?= =?UTF-8?q?=20SettingHeader?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/settings-v2/system/channels/index.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/settings-v2/system/channels/index.tsx b/src/components/settings-v2/system/channels/index.tsx index d1cdf0f2b..373dce204 100644 --- a/src/components/settings-v2/system/channels/index.tsx +++ b/src/components/settings-v2/system/channels/index.tsx @@ -5,9 +5,7 @@ */ import React, { useState, useEffect, useCallback, useMemo } from "react"; -import { useTranslation } from "react-i18next"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; -import { SettingHeader } from "@/components/settings-v2/features/SettingHeader"; import { Eye, EyeOff, @@ -430,7 +428,6 @@ export interface ChannelsSettingsProps { } export function ChannelsSettings({ className }: ChannelsSettingsProps) { - const { t } = useTranslation(); const [activeTab, setActiveTab] = useState("telegram"); const [config, setConfig] = useState(null); const [channels, setChannels] = useState(DEFAULT_CHANNELS); @@ -497,8 +494,6 @@ export function ChannelsSettings({ className }: ChannelsSettingsProps) { return (
- - {message && (