mirror of https://git.lenooby09.tech/LeNooby09/social-app.git

Update copy and link in reporting flow (#8583)

* Update copy and link

* fix prettier

* Update link

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>

authored by

Eric Bailey
Samuel Newman
and committed by
GitHub
42bfee5d 94a3e5bb

+8 -4
+1
src/components/moderation/ReportDialog/const.ts
··· 1 1 export const DMCA_LINK = 'https://bsky.social/about/support/copyright' 2 + export const SUPPORT_PAGE = 'https://bsky.social/about/support'
+7 -4
src/components/moderation/ReportDialog/index.tsx
··· 30 30 import {Loader} from '#/components/Loader' 31 31 import {Text} from '#/components/Typography' 32 32 import {useSubmitReportMutation} from './action' 33 - import {DMCA_LINK} from './const' 33 + import {SUPPORT_PAGE} from './const' 34 34 import {useCopyForSubject} from './copy' 35 35 import {initialState, reducer} from './state' 36 36 import {type ReportDialogProps, type ReportSubject} from './types' ··· 266 266 267 267 {['post', 'account'].includes(props.subject.type) && ( 268 268 <Link 269 - to={DMCA_LINK} 269 + to={SUPPORT_PAGE} 270 270 label={_( 271 - msg`View details for reporting a copyright violation`, 271 + msg`Need to report a copyright violation, legal request, or regulatory compliance issue?`, 272 272 )}> 273 273 {({hovered, pressed}) => ( 274 274 <View ··· 285 285 : [t.atoms.border_contrast_low], 286 286 ]}> 287 287 <Text style={[a.flex_1, a.italic, a.leading_snug]}> 288 - <Trans>Need to report a copyright violation?</Trans> 288 + <Trans> 289 + Need to report a copyright violation, legal 290 + request, or regulatory compliance issue? 291 + </Trans> 289 292 </Text> 290 293 <SquareArrowTopRight 291 294 size="sm"