Closed martinbianchi closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/everydotorg/donate-button/HaEqWwjKFsxmYwxM63eDCzj4pHrP
✅ Preview: https://donate-button-git-fix-undefined-req-everydotorg.vercel.app
After open the widget, we are fetching the nonprofit information from Every. We were trying to show the logo even when the request was running which caused a fail request to an invalid path (
HOST_SITE/undefined
).Now we are assuring that we have the logo before make the first request