summaryrefslogtreecommitdiffhomepage
path: root/cloud/app/src/context
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/app/src/context')
-rw-r--r--cloud/app/src/context/auth.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cloud/app/src/context/auth.tsx b/cloud/app/src/context/auth.tsx
index d6c5887c8..90db24d21 100644
--- a/cloud/app/src/context/auth.tsx
+++ b/cloud/app/src/context/auth.tsx
@@ -21,8 +21,11 @@ export const getActor = query(async (): Promise<Actor.Info> => {
const url = new URL(evt!.request.headers.get("referer") ?? evt!.request.url)
const auth = await useAuthSession()
const [workspaceHint] = url.pathname.split("/").filter((x) => x.length > 0)
+ console.log("here1")
if (!workspaceHint) {
+ console.log("here2")
if (auth.data.current) {
+ console.log("here3")
const current = auth.data.account[auth.data.current]
return {
type: "account",