inverted logic on ONBOARDING_INTRODUCED_AT
(#566)
This commit is contained in:
parent
ab33cbde4c
commit
8999829490
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue