Merge pull request #18 from gractwo/persons-of-note-endpoint
adapt site to /persons-of-note endpoint change
This commit is contained in:
@@ -18,7 +18,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();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user