Update hardware.tsx

This commit is contained in:
MacRimi
2025-10-18 18:32:13 +02:00
parent fb4998d21b
commit 514976561f

View File

@@ -234,7 +234,7 @@ export default function Hardware() {
if (isLoading) { if (isLoading) {
return ( return (
<div className="space-y-6 p-6"> <div className="space-y-6">
<div className="text-center py-8"> <div className="text-center py-8">
<div className="text-lg font-medium text-foreground mb-2">Loading hardware data...</div> <div className="text-lg font-medium text-foreground mb-2">Loading hardware data...</div>
</div> </div>
@@ -243,7 +243,7 @@ export default function Hardware() {
} }
return ( return (
<div className="space-y-6 p-6"> <div className="space-y-6">
{/* System Information - CPU & Motherboard */} {/* System Information - CPU & Motherboard */}
{(hardwareData?.cpu || hardwareData?.motherboard) && ( {(hardwareData?.cpu || hardwareData?.motherboard) && (
<Card className="border-border/50 bg-card/50 p-6"> <Card className="border-border/50 bg-card/50 p-6">