fix: error on signup page while inviting a member to an org (#13807)

Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
This commit is contained in:
Somay ChauhanandUdit Takkar authored and GitHub committed 2024-02-21 18:49:51 +00:00
1 parent 192603a1fa
commit f4397d6593
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ export const getServerSideProps = async (ctx: GetServerSidePropsContext) => {
.optional()
.safeParse(ctx.query.redirect);
const redirectUrl = redirectUrlData.success ? redirectUrlData.data : undefined;
const redirectUrl = redirectUrlData.success && redirectUrlData.data ? redirectUrlData.data : null;
const props = {
redirectUrl,