mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-17 14:24:26 +01:00
Update Join.tsx
This commit is contained in:
@@ -13,7 +13,7 @@ export default function Join() {
|
|||||||
// Fetch the waitlist status from the backend
|
// Fetch the waitlist status from the backend
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (waitlistId) {
|
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) {
|
if (res.status === 200) {
|
||||||
setWaitlisted(true);
|
setWaitlisted(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user