mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-08 03:08:21 +00:00
Force desktop onboarding during auth QA
This commit is contained in:
parent
47542ccf51
commit
6b7aa98458
1 changed files with 4 additions and 3 deletions
|
|
@ -90,12 +90,13 @@ export function updateDesktopOnboardingStatus(
|
|||
export function shouldShowDesktopOnboarding(
|
||||
owner?: DesktopOnboardingOwner | null,
|
||||
) {
|
||||
const status = getDesktopOnboardingStatus(owner)
|
||||
return !status.completed && !status.skipped
|
||||
void owner
|
||||
return true
|
||||
}
|
||||
|
||||
export function postAuthRedirectPath(owner?: DesktopOnboardingOwner | null) {
|
||||
return shouldShowDesktopOnboarding(owner) ? "/onboarding" : "/"
|
||||
void owner
|
||||
return "/onboarding"
|
||||
}
|
||||
|
||||
export function completeDesktopOnboarding(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue