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

@ -30,7 +30,7 @@ const Form = () => {
formData.append('phone', data.phone);
formData.append('comment', data.comment);
fetchForm('https://guild.craft-group.xyz/api/profile/add-to-interview', formData);
fetchForm(`${process.env.REACT_APP_API_URL}/api/profile/add-to-interview`, formData);
};
const goBack = () => {