work on caste load

This commit is contained in:
Romulus21
2025-07-28 08:54:53 +02:00
parent a229c416a9
commit 9362dbe400
5 changed files with 102 additions and 22 deletions

19
src/CastesLinks.tsx Normal file
View File

@@ -0,0 +1,19 @@
import { useEffect, useState } from "react";
import { LinkGroup } from "./App";
export const CastesLinks = () => {
const [loading, setLoading] = useState(true);
const links = [{ name: "GPAO", link: "http://gpao.lan" }];
useEffect(() => {
testConnection();
}, []);
const testConnection = async () => {
try {
const res = await fetch("http://gpao.lan");
console.log("link", res);
} catch (error) {}
};
return <LinkGroup title="Castes" links={links} />;
};