diff --git a/src/routes/invite.svelte b/src/routes/invite.svelte index 3c72d44a3..374ebc914 100644 --- a/src/routes/invite.svelte +++ b/src/routes/invite.svelte @@ -44,25 +44,33 @@ Invite -

You have been invited to join a team project on Appwrite

-
- - - By accepting the invitation, you agree to the Terms and Conditions - and - - Privacy Policy. + {#if !userId || !secret || !membershipId || !teamId} +

Invalid invite link.

+ {:else} +

You have been invited to join a team project on Appwrite

+ + + + By accepting the invitation, you agree to the Terms and Conditions + and + + Privacy Policy. -
- - -
-
- +
+ + +
+
+ + {/if}