mirror of
https://github.com/skidoodle/hostinfo
synced 2025-03-16 13:59:38 +01:00
almost there
This commit is contained in:
parent
38e6f714cb
commit
5eb326de05
273 changed files with 230 additions and 261 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue