Refactored signup and added team invitation step

This commit is contained in:
Vladyslav Matsiiako
2023-01-07 16:40:28 -08:00
parent b0fb86a6ac
commit 6de4eca4fc
14 changed files with 706 additions and 514 deletions
+1
View File
@@ -183,6 +183,7 @@ export default function Layout({ children }: LayoutProps) {
if (
userWorkspaces.length == 0 &&
router.asPath != "/noprojects" &&
!router.asPath.includes("home")&&
!router.asPath.includes("settings")
) {
router.push("/noprojects");