Correcting some bugs in statistics.

This commit is contained in:
charles-gauthereau
2025-02-13 19:20:55 +01:00
parent 7a59c616eb
commit 8586abf7e5
8 changed files with 81 additions and 33 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export default async function Index() {
const user = await currentUser()
if (user) {
const currentOrganizationSlug = await getCurrentOrganizationSlug()
console.log(currentOrganizationSlug)
redirect(`/dashboard/${currentOrganizationSlug}/projects`)
}
redirect("/login")