diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-05-06 22:50:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-06 22:50:28 +0300 |
commit | 4c8fd006f6a994783a43e4744a3167db7aefc159 (patch) | |
tree | 0b8350774438cbbc2b8c6e77b844ce6b677381d3 /src/state/queries/list.ts | |
parent | 3f7dc9a8e5c9225ef20ce996543a1c3cfa991eb7 (diff) | |
download | voidsky-4c8fd006f6a994783a43e4744a3167db7aefc159.tar.zst |
New Edit Profile dialog on web, use new Edit Image dialog everywhere (#8220)
Diffstat (limited to 'src/state/queries/list.ts')
-rw-r--r-- | src/state/queries/list.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/state/queries/list.ts b/src/state/queries/list.ts index 38e8cd62d..c0d5edfb1 100644 --- a/src/state/queries/list.ts +++ b/src/state/queries/list.ts @@ -14,9 +14,9 @@ import chunk from 'lodash.chunk' import {uploadBlob} from '#/lib/api' import {until} from '#/lib/async/until' -import {type PickerImage} from '#/lib/media/picker.shared' +import {type ImageMeta} from '#/state/gallery' import {STALE} from '#/state/queries' -import {useAgent, useSession} from '../session' +import {useAgent, useSession} from '#/state/session' import {invalidate as invalidateMyLists} from './my-lists' import {RQKEY as PROFILE_LISTS_RQKEY} from './profile-lists' @@ -47,7 +47,7 @@ export interface ListCreateMutateParams { name: string description: string descriptionFacets: Facet[] | undefined - avatar: PickerImage | null | undefined + avatar: ImageMeta | null | undefined } export function useListCreateMutation() { const {currentAccount} = useSession() @@ -115,7 +115,7 @@ export interface ListMetadataMutateParams { name: string description: string descriptionFacets: Facet[] | undefined - avatar: PickerImage | null | undefined + avatar: ImageMeta | null | undefined } export function useListMetadataMutation() { const {currentAccount} = useSession() |