mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 18:52:56 +00:00
dev day #71
This commit is contained in:
@@ -58,7 +58,7 @@ const Footer: React.FC = () => {
|
||||
} catch {}
|
||||
// Fetch sponsors
|
||||
try {
|
||||
const sponsorsRes = await fetch(`${API_URL}/public/sponsors`);
|
||||
const sponsorsRes = await fetch(`${API_URL}/sponsors`);
|
||||
if (sponsorsRes.ok) {
|
||||
const data = await sponsorsRes.json();
|
||||
if (!cancelled && Array.isArray(data)) {
|
||||
|
||||
Reference in New Issue
Block a user