diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-12-07 14:45:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 14:45:50 -0800 |
commit | 52a0cb8faccd0df8250b4b084005d2fd6d12a9ad (patch) | |
tree | 5e15893fc9296d8b3b9ba99ff689143a68f03e2c /src/state/modals | |
parent | 794015aef88b4488e9803e76908c00fdb53b0df2 (diff) | |
download | voidsky-52a0cb8faccd0df8250b4b084005d2fd6d12a9ad.tar.zst |
Add label appeal tool to posts and accounts (#2124)
* Add label appeal tool to posts and accounts * Fix translations
Diffstat (limited to 'src/state/modals')
-rw-r--r-- | src/state/modals/index.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx index 94d6d9ec5..bff27f84d 100644 --- a/src/state/modals/index.tsx +++ b/src/state/modals/index.tsx @@ -51,6 +51,16 @@ export type ReportModal = { | {did: string} ) +export type AppealLabelModal = { + name: 'appeal-label' +} & ( + | { + uri: string + cid: string + } + | {did: string} +) + export interface CreateOrEditListModal { name: 'create-or-edit-list' purpose?: string @@ -183,6 +193,7 @@ export type Modal = // Moderation | ModerationDetailsModal | ReportModal + | AppealLabelModal // Lists | CreateOrEditListModal |