From 31472828ec9ae850258d7b47d153fa924149454f Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 5 Feb 2025 11:16:35 -0600 Subject: [PATCH] Use Un util --- src/state/queries/list.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/state/queries/list.ts b/src/state/queries/list.ts index 7aec4bc669..3e9442fef5 100644 --- a/src/state/queries/list.ts +++ b/src/state/queries/list.ts @@ -8,6 +8,7 @@ import { BskyAgent, ComAtprotoRepoApplyWrites, Facet, + Un$Typed, } from '@atproto/api' import {useMutation, useQuery, useQueryClient} from '@tanstack/react-query' import chunk from 'lodash.chunk' @@ -70,7 +71,7 @@ export function useListCreateMutation() { ) { throw new Error('Invalid list purpose: must be curatelist or modlist') } - const record: AppBskyGraphList.Record = { + const record: Un$Typed = { purpose, name, description,