fix strings

This commit is contained in:
Eduardo Quiros 2022-08-23 04:06:28 -06:00
parent 64f9216b5f
commit 47db7defbf
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 2 additions and 3 deletions

View File

@ -24,8 +24,7 @@ const InvitadosComunidad = () => {
const toastRef = useRef(null);
const getInvitados = async () => {
console.log(`${process.env.REACT_APP_API_URL}`);
await fetch(`${process.env.REACT_APP_API_URL}/guest/allGuests`, {
await fetch(`http://localhost:4000/guest/allGuests`, {
method: 'GET',
})
.then((response) => response.json())
@ -40,7 +39,7 @@ const InvitadosComunidad = () => {
useEffect(() => {
getInvitados();
}, [invitados]);
}, [getInvitados, invitados]);
const leftToolbarTemplate = () => {
return (