Merge pull request #2 from MutinyWallet/TonyGiorgio-patch-1

Update Join.tsx
This commit is contained in:
Tony Giorgio
2023-02-11 20:33:07 -06:00
committed by GitHub

View File

@@ -13,7 +13,7 @@ export default function Join() {
// Fetch the waitlist status from the backend
useEffect(() => {
if (waitlistId) {
fetch(`http://127.0.0.1:8787/waitlist/${waitlistId}`).then(res => {
fetch(`https://waitlist.mutiny-waitlist.workers.dev/waitlist/${waitlistId}`).then(res => {
if (res.status === 200) {
setWaitlisted(true);
}