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
+2 -7
View File
@@ -7,9 +7,8 @@ export default function Popup() {
if (loading) {
return (
<div className="w-80 h-75 bg-white dark:bg-gray-950 flex flex-col items-center justify-center space-y-4 font-sans">
<div className="w-80 h-64 bg-white dark:bg-gray-950 flex flex-col items-center justify-center font-sans">
<div className="w-6 h-6 border-2 border-gray-200 dark:border-gray-700 border-t-blue-600 rounded-full animate-spin"></div>
<p className="text-gray-400 text-xs font-medium">Loading host info...</p>
</div>
);
}
@@ -18,9 +17,5 @@ export default function Popup() {
return <Error error="No active page found" />;
}
if (info.error) {
return <Error error={info.error} />;
}
return <ServerInfo data={info} />;
return <ServerInfo state={info} />;
}
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Host Info</title>
<meta name="manifest.type" content="browser_action" />
<meta name="manifest.type" content="action" />
</head>
<body>
<div id="root"></div>