fix: home page redirection logic (#752)

* fix: dashboard workspace activity mutation

* fix: home page redirection logic

* chore: add homePageRedirect function back
This commit is contained in:
Aaryan Khandelwal
2023-04-09 00:02:33 +05:30
committed by GitHub
parent 03e74415f2
commit 08e77cb19e
6 changed files with 72 additions and 14 deletions

View File

@@ -109,9 +109,6 @@ export const homePageRedirect = async (cookie?: string) => {
},
};
// FIXME: backend is returning object of user and workspace.
// Get KT if it's required to send user and workspace and if
// yes change below accordingly
if (!user.is_onboarded)
return {
redirect: {