diff --git a/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/users/page-client.tsx b/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/users/page-client.tsx index dd2181ac4..cbdb5a86d 100644 --- a/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/users/page-client.tsx +++ b/packages/stack-server/src/app/(main)/(protected)/projects/[projectId]/auth/users/page-client.tsx @@ -1,9 +1,10 @@ "use client"; -import { useState } from "react"; import { Paragraph } from "@/components/paragraph"; import { UsersTable } from "./users-table"; import { useAdminApp } from "../../use-admin-app"; +import { Alert } from "@mui/joy"; +import { SmartLink } from "@/components/smart-link"; export default function UsersDashboardClient() { @@ -16,6 +17,15 @@ export default function UsersDashboardClient() { Users + + {allUsers.length > 0 ? null : ( + + + Congratulations on starting your project! Check the documentation to add your first users. + + + )} + diff --git a/packages/stack/src/components-page/account-settings.tsx b/packages/stack/src/components-page/account-settings.tsx index b8741e5c1..562f313e3 100644 --- a/packages/stack/src/components-page/account-settings.tsx +++ b/packages/stack/src/components-page/account-settings.tsx @@ -90,7 +90,7 @@ function EmailVerificationSection() { return ( { @@ -182,7 +182,7 @@ function SignOutSection() { return ( user?.signOut()}