From 52a0cb8faccd0df8250b4b084005d2fd6d12a9ad Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 7 Dec 2023 14:45:50 -0800 Subject: Add label appeal tool to posts and accounts (#2124) * Add label appeal tool to posts and accounts * Fix translations --- src/state/modals/index.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/state/modals/index.tsx') 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 -- cgit 1.4.1