Bug fixes and performance improvements

This commit is contained in:
2026-02-24 16:05:02 +01:00
parent da23868817
commit 7d614a2a7e
532 changed files with 639 additions and 523 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
import { CpuChipIcon, ServerIcon } from '@heroicons/react/24/outline';
import { Header } from './Header';
import { InfoRow } from './Info';
import type { HostInfo } from '@/utils/types';
import type { GeoData } from '@/utils/types';
export const LocalNetworkView = ({ data }: { data: HostInfo }) => {
export const LocalNetworkView = ({ data, domain }: { data: GeoData, domain: string }) => {
return (
<div className="w-80 bg-white dark:bg-gray-950 font-sans">
<Header
title={data.domain}
title={domain}
flagCode="unknown"
/>
<div className="p-5">
@@ -20,7 +20,7 @@ export const LocalNetworkView = ({ data }: { data: HostInfo }) => {
<InfoRow
icon={ServerIcon}
label="IP Address"
value={data.network?.ip || null}
value={data.ip}
canCopy
iconColor="text-blue-500"
/>