add link to user section home

This commit is contained in:
Patryk
2025-06-10 01:14:10 +02:00
parent 97d3927acc
commit c0b8800f83
2 changed files with 34 additions and 20 deletions

View File

@@ -14,7 +14,9 @@ export function UserSection({ notices, title }) {
useEffect(() => {
if (token) {
axios
.get("https://hopp.zikor.pl/api/v1/clients/get/all", { headers })
.get("https://hopp.zikor.pl/api/v1/clients/get/all", {
headers: headers,
})
.then((res) => setUsers(res.data))
.catch(() => setUsers([]));
}