Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 6663dfe

Browse files
committed
fix: initiate onboarding flow if onboarding checklist is empty
1 parent ab70116 commit 6663dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const businessLogin = () => {
5858
*/
5959
export function checkOnboarding(resp) {
6060
if (resp?.data.length === 0) {
61-
return false;
61+
return "/onboard/";
6262
}
6363
const data = resp?.data.filter(
6464
(item) => item.traitId === "onboarding_checklist"

0 commit comments

Comments
 (0)