inverted logic on `ONBOARDING_INTRODUCED_AT` (#566)
parent
ab33cbde4c
commit
8999829490
|
@ -664,7 +664,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
|
|||
},
|
||||
});
|
||||
|
||||
if (!user.completedOnboarding && dayjs(user.createdDate).isBefore(ONBOARDING_INTRODUCED_AT)) {
|
||||
if (!user.completedOnboarding && dayjs(user.createdDate).isAfter(ONBOARDING_INTRODUCED_AT)) {
|
||||
return {
|
||||
redirect: {
|
||||
permanent: false,
|
||||
|
|
Loading…
Reference in New Issue