summaryrefslogtreecommitdiffhomepage
path: root/cloud/app/src/routes
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-30 01:19:03 -0400
committerDax Raad <[email protected]>2025-08-30 01:19:03 -0400
commitb54aa65f5f0f1eba6890843df010642ce25ee7d8 (patch)
treebce4e7cf0e698fe6767cbc3807a7e4378a4eccd4 /cloud/app/src/routes
parent52b3eddeee0091d72f24b17b9ae61796f54afbe5 (diff)
downloadopencode-b54aa65f5f0f1eba6890843df010642ce25ee7d8.tar.gz
opencode-b54aa65f5f0f1eba6890843df010642ce25ee7d8.zip
ignore: fix stuff
Diffstat (limited to 'cloud/app/src/routes')
-rw-r--r--cloud/app/src/routes/workspace/[id].tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloud/app/src/routes/workspace/[id].tsx b/cloud/app/src/routes/workspace/[id].tsx
index 65b2a3887..81013dc92 100644
--- a/cloud/app/src/routes/workspace/[id].tsx
+++ b/cloud/app/src/routes/workspace/[id].tsx
@@ -167,7 +167,7 @@ const dummyApiKeyData = [
},
]
-export default function() {
+export default function () {
const actor = createAsync(() => getActor())
onMount(() => {
console.log("MOUNTED", actor())
@@ -351,7 +351,7 @@ export default function() {
</Show>
<div data-slot="api-keys-table">
<Show
- when={dummyApiKeyData.length > 0}
+ when={keys()?.length}
fallback={
<div data-slot="empty-state">
<p>Create an opencode Gateway API key</p>
@@ -368,7 +368,7 @@ export default function() {
</tr>
</thead>
<tbody>
- <For each={dummyApiKeyData}>
+ <For each={keys()!}>
{/* Real data: keys() */}
{(key) => (
<tr>