aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/routes/sb1.remote.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/routes/sb1.remote.ts')
-rw-r--r--app/src/routes/sb1.remote.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/src/routes/sb1.remote.ts b/app/src/routes/sb1.remote.ts
index d2eb0cc..c3967c1 100644
--- a/app/src/routes/sb1.remote.ts
+++ b/app/src/routes/sb1.remote.ts
@@ -8,24 +8,24 @@ const init_auth_session = command(async () => {
return await sb1.auth.init_auth_session()
})
-const is_ready = query(async () => {
- return await sb1.auth.is_ready()
+const is_ready = query(() => {
+ return sb1.auth.is_ready()
})
-const get_accounts = query(async () => {
- return await sb1.data.get_accounts()
+const get_accounts = query(() => {
+ return sb1.data.get_accounts()
})
-const get_transactions = query(v.string(), async (accountKey: string) => {
- return await sb1.data.get_transactions(accountKey)
+const get_transactions = query(v.string(), (accountKey: string) => {
+ return sb1.data.get_transactions(accountKey)
})
const clear_auth_session = query(async () => {
await db.delete(syncSession)
})
-const get_auth_info = query(async () => {
- return await sb1.auth.get_auth_info()
+const get_auth_info = query(() => {
+ return sb1.auth.get_auth_info()
})
const refresh_tokem = command(async () => {