forgor about profiles

This commit is contained in:
2022-12-29 17:33:35 +01:00
parent f9dc2e25a8
commit 0b39570442

View File

@@ -17,7 +17,7 @@ const ProfilePage = () => {
const [persons, setPersons] = useState([]); const [persons, setPersons] = useState([]);
const [loading, setLoading] = useState(true); const [loading, setLoading] = useState(true);
useEffect(() => { useEffect(() => {
fetch("https://gractwo.pl/api/v1/admincards") fetch("https://gractwo.pl/api/v1/persons-of-note")
.then((res) => { .then((res) => {
return res.json(); return res.json();
}) })