about summary refs log tree commit diff
path: root/src/state/queries
diff options
context:
space:
mode:
authorChenyu Huang <itschenyu@gmail.com>2025-08-08 16:10:35 -0700
committerChenyu Huang <itschenyu@gmail.com>2025-08-19 15:28:37 -0700
commitf42b5831bb831e3b9f925730477a27e01d2b33f4 (patch)
treef0df61f8c22f91f7474646bea84023cef92be01f /src/state/queries
parent7182cd3d5e157d7ad80f2e5c4a458730c46939a0 (diff)
downloadvoidsky-f42b5831bb831e3b9f925730477a27e01d2b33f4.tar.zst
parameterize the initial profile for starter pack profile select wizard screen
Diffstat (limited to 'src/state/queries')
-rw-r--r--src/state/queries/actor-starter-packs.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/state/queries/actor-starter-packs.ts b/src/state/queries/actor-starter-packs.ts
index bde719743..d40e05453 100644
--- a/src/state/queries/actor-starter-packs.ts
+++ b/src/state/queries/actor-starter-packs.ts
@@ -90,3 +90,13 @@ export async function invalidateActorStarterPacksQuery({
 }) {
   await queryClient.invalidateQueries({queryKey: RQKEY(did)})
 }
+
+export async function invalidateActorStarterPacksWithMembershipQuery({
+  queryClient,
+  did,
+}: {
+  queryClient: QueryClient
+  did: string
+}) {
+  await queryClient.invalidateQueries({queryKey: RQKEY_WITH_MEMBERSHIP(did)})
+}