fix warning

This commit is contained in:
pompurin404 2024-08-27 10:40:11 +08:00
parent 4bf66046ee
commit 8af1495df5
No known key found for this signature in database

View File

@ -89,18 +89,18 @@ const App: React.FC = () => {
} }
const componentMap = { const componentMap = {
sysproxy: <SysproxySwitcher />, sysproxy: <SysproxySwitcher key="sysproxy" />,
tun: <TunSwitcher />, tun: <TunSwitcher key="tun" />,
profile: <ProfileCard />, profile: <ProfileCard key="profile" />,
proxy: <ProxyCard />, proxy: <ProxyCard key="proxy" />,
mihomo: <MihomoCoreCard />, mihomo: <MihomoCoreCard key="mihomo" />,
connection: <ConnCard />, connection: <ConnCard key="connection" />,
dns: <DNSCard />, dns: <DNSCard key="dns" />,
sniff: <SniffCard />, sniff: <SniffCard key="sniff" />,
log: <LogCard />, log: <LogCard key="log" />,
rule: <RuleCard />, rule: <RuleCard key="rule" />,
resource: <ResourceCard />, resource: <ResourceCard key="resource" />,
override: <OverrideCard /> override: <OverrideCard key="override" />
} }
return ( return (