about summary refs log tree commit diff
path: root/src/state/lib/api.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-07-25 23:08:24 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-07-25 23:08:24 -0500
commit041bfa22a99d8d6b4b17ad36c983e9e2b2444918 (patch)
treeb03d7934b27af87c76fa62424fa70e6d0e5229a8 /src/state/lib/api.ts
parentaf55a89758fc6d44896051b9ddd015a73b92e0f6 (diff)
downloadvoidsky-041bfa22a99d8d6b4b17ad36c983e9e2b2444918.tar.zst
Implement Web versions of the bottom sheet, toast, and progress circle
Diffstat (limited to 'src/state/lib/api.ts')
-rw-r--r--src/state/lib/api.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/lib/api.ts b/src/state/lib/api.ts
index bb3ef5d1a..df0047991 100644
--- a/src/state/lib/api.ts
+++ b/src/state/lib/api.ts
@@ -97,7 +97,7 @@ export async function unrepost(adx: AdxClient, user: string, uri: string) {
   return numDels > 0
 }
 
-type WherePred = (record: GetRecordResponseValidated) => Boolean
+type WherePred = (_record: GetRecordResponseValidated) => Boolean
 async function deleteWhere(
   coll: AdxRepoCollectionClient,
   schema: SchemaOpt,
@@ -115,7 +115,7 @@ async function deleteWhere(
   return toDelete.length
 }
 
-type IterateAllCb = (record: GetRecordResponseValidated) => void
+type IterateAllCb = (_record: GetRecordResponseValidated) => void
 async function iterateAll(
   coll: AdxRepoCollectionClient,
   schema: SchemaOpt,