about summary refs log tree commit diff
path: root/src/components/ReportDialog
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-01-10 23:35:21 +0000
committerGitHub <noreply@github.com>2025-01-10 23:35:21 +0000
commitd7f5ee8415bd6d37a889d395f30b912cb1068e09 (patch)
tree577afe4b7955a9753e7d321d26aa7cf43720b1cf /src/components/ReportDialog
parent42a44682650598404368ea9d5c734d49bfdbd812 (diff)
downloadvoidsky-d7f5ee8415bd6d37a889d395f30b912cb1068e09.tar.zst
Conversation-level reporting by reporting most recent message available (#7423)
* report latest message via convo menu

* check all messages we have

* fix types

* rm convo warning
Diffstat (limited to 'src/components/ReportDialog')
-rw-r--r--src/components/ReportDialog/SelectReportOptionView.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/ReportDialog/SelectReportOptionView.tsx b/src/components/ReportDialog/SelectReportOptionView.tsx
index 169c07d73..92a442cbd 100644
--- a/src/components/ReportDialog/SelectReportOptionView.tsx
+++ b/src/components/ReportDialog/SelectReportOptionView.tsx
@@ -25,9 +25,7 @@ import {SquareArrowTopRight_Stroke2_Corner0_Rounded as SquareArrowTopRight} from
 import {Text} from '#/components/Typography'
 import {ReportDialogProps} from './types'
 
-export function SelectReportOptionView({
-  ...props
-}: {
+export function SelectReportOptionView(props: {
   params: ReportDialogProps['params']
   labelers: AppBskyLabelerDefs.LabelerViewDetailed[]
   onSelectReportOption: (reportOption: ReportOption) => void