mirror of
https://github.com/skidoodle/hostinfo
synced 2026-04-28 17:47:36 +02:00
almost there
This commit is contained in:
@@ -1,17 +1,8 @@
|
||||
import { Spinner } from '@/components/Spinner';
|
||||
import ServerInfo from '@/components/ServerInfo';
|
||||
import Error from '@/components/Error';
|
||||
|
||||
export default function Popup() {
|
||||
const { data, loading, error } = useTabData();
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="flex items-center justify-center h-48 bg-gray-900">
|
||||
<Spinner className="w-12 h-12 text-purple-500" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
const { data, error } = useTabData();
|
||||
|
||||
if (error) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user