From 0b39570442fb98f341d3fab88d3e05030f64e521 Mon Sep 17 00:00:00 2001 From: jakubmanczak Date: Thu, 29 Dec 2022 17:33:35 +0100 Subject: [PATCH] forgor about profiles --- pages/profil/[profname]/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/profil/[profname]/index.tsx b/pages/profil/[profname]/index.tsx index cc4a8be..2ef7006 100644 --- a/pages/profil/[profname]/index.tsx +++ b/pages/profil/[profname]/index.tsx @@ -17,7 +17,7 @@ const ProfilePage = () => { const [persons, setPersons] = useState([]); const [loading, setLoading] = useState(true); useEffect(() => { - fetch("https://gractwo.pl/api/v1/admincards") + fetch("https://gractwo.pl/api/v1/persons-of-note") .then((res) => { return res.json(); })