Modernise list create/edit dialog (#8223)
This commit is contained in:
@@ -1,15 +1,7 @@
|
||||
import React from 'react'
|
||||
import {type AppBskyGraphDefs} from '@atproto/api'
|
||||
|
||||
import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
|
||||
|
||||
export interface CreateOrEditListModal {
|
||||
name: 'create-or-edit-list'
|
||||
purpose?: string
|
||||
list?: AppBskyGraphDefs.ListView
|
||||
onSave?: (uri: string) => void
|
||||
}
|
||||
|
||||
export interface UserAddRemoveListsModal {
|
||||
name: 'user-add-remove-lists'
|
||||
subject: string
|
||||
@@ -46,7 +38,6 @@ export type Modal =
|
||||
| ContentLanguagesSettingsModal
|
||||
|
||||
// Lists
|
||||
| CreateOrEditListModal
|
||||
| UserAddRemoveListsModal
|
||||
|
||||
// Bluesky access
|
||||
|
||||
Reference in New Issue
Block a user