summaryrefslogtreecommitdiffhomepage
path: root/cloud
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-09-03 06:27:53 -0400
committerFrank <[email protected]>2025-09-03 06:27:53 -0400
commit9ad4dc92966f36b9e3d52857f788ccac7c5d003a (patch)
treeb9edb5331e2ee3f267a73958fa4b7d4fc59b81c3 /cloud
parent23af974bd3e4dedab5394a2da2af427dca525d19 (diff)
downloadopencode-9ad4dc92966f36b9e3d52857f788ccac7c5d003a.tar.gz
opencode-9ad4dc92966f36b9e3d52857f788ccac7c5d003a.zip
wip: console
Diffstat (limited to 'cloud')
-rw-r--r--cloud/app/src/context/auth.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cloud/app/src/context/auth.ts b/cloud/app/src/context/auth.ts
index 5cf366ca4..5f5642990 100644
--- a/cloud/app/src/context/auth.ts
+++ b/cloud/app/src/context/auth.ts
@@ -22,7 +22,11 @@ export const getActor = async (): Promise<Actor.Info> => {
const auth = await useAuthSession()
const splits = url.pathname.split("/").filter(Boolean)
if (splits[0] !== "workspace") {
+ // TODO
+ console.log("before current")
+ console.log(`current: ${auth.data.current}`)
const current = auth.data.account[auth.data.current ?? ""]
+ console.log("after current")
if (current) {
return {
type: "account",