redirect buttons and api url fixes

This commit is contained in:
kurpfish
2021-08-05 16:44:49 +03:00
parent 9a55d65db1
commit ffd679a0a9
14 changed files with 61 additions and 9 deletions

View File

@ -14,7 +14,7 @@ const Description = ({ onLoadMore }) => {
const [allCandidates, getAllCandidates] = useState([]);
useEffect(() => {
fetchProfile('https://guild.craft-group.xyz/api/profile?limit=', 1000).then((p) => getAllCandidates(p));
fetchProfile(`${process.env.REACT_APP_API_URL}/api/profile?limit=`, 1000).then((p) => getAllCandidates(p));
}, []);
return (