diff options
Diffstat (limited to 'src/components/ReportDialog')
-rw-r--r-- | src/components/ReportDialog/SelectLabelerView.tsx | 8 | ||||
-rw-r--r-- | src/components/ReportDialog/SelectReportOptionView.tsx | 13 |
2 files changed, 9 insertions, 12 deletions
diff --git a/src/components/ReportDialog/SelectLabelerView.tsx b/src/components/ReportDialog/SelectLabelerView.tsx index 383d1b95f..dd07cafa3 100644 --- a/src/components/ReportDialog/SelectLabelerView.tsx +++ b/src/components/ReportDialog/SelectLabelerView.tsx @@ -1,18 +1,16 @@ import React from 'react' import {View} from 'react-native' +import {AppBskyLabelerDefs} from '@atproto/api' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {AppBskyLabelerDefs} from '@atproto/api' export {useDialogControl as useReportDialogControl} from '#/components/Dialog' import {getLabelingServiceTitle} from '#/lib/moderation' - -import {atoms as a, useTheme, useBreakpoints} from '#/alf' -import {Text} from '#/components/Typography' +import {atoms as a, useBreakpoints, useTheme} from '#/alf' import {Button, useButtonContext} from '#/components/Button' import {Divider} from '#/components/Divider' import * as LabelingServiceCard from '#/components/LabelingServiceCard' - +import {Text} from '#/components/Typography' import {ReportDialogProps} from './types' export function SelectLabelerView({ diff --git a/src/components/ReportDialog/SelectReportOptionView.tsx b/src/components/ReportDialog/SelectReportOptionView.tsx index 54844cfda..c67698348 100644 --- a/src/components/ReportDialog/SelectReportOptionView.tsx +++ b/src/components/ReportDialog/SelectReportOptionView.tsx @@ -1,16 +1,15 @@ import React from 'react' import {View} from 'react-native' +import {AppBskyLabelerDefs} from '@atproto/api' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {AppBskyLabelerDefs} from '@atproto/api' -import {useReportOptions, ReportOption} from '#/lib/moderation/useReportOptions' -import {DMCA_LINK} from '#/components/ReportDialog/const' +import {ReportOption, useReportOptions} from '#/lib/moderation/useReportOptions' import {Link} from '#/components/Link' +import {DMCA_LINK} from '#/components/ReportDialog/const' export {useDialogControl as useReportDialogControl} from '#/components/Dialog' -import {atoms as a, useTheme, useBreakpoints} from '#/alf' -import {Text} from '#/components/Typography' +import {atoms as a, useBreakpoints, useTheme} from '#/alf' import { Button, ButtonIcon, @@ -19,11 +18,11 @@ import { } from '#/components/Button' import {Divider} from '#/components/Divider' import { - ChevronRight_Stroke2_Corner0_Rounded as ChevronRight, ChevronLeft_Stroke2_Corner0_Rounded as ChevronLeft, + ChevronRight_Stroke2_Corner0_Rounded as ChevronRight, } from '#/components/icons/Chevron' import {SquareArrowTopRight_Stroke2_Corner0_Rounded as SquareArrowTopRight} from '#/components/icons/SquareArrowTopRight' - +import {Text} from '#/components/Typography' import {ReportDialogProps} from './types' export function SelectReportOptionView({ |