diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-09-09 18:38:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-09 08:38:21 -0700 |
commit | 53e43a957c2e0f3f020c34653cbf5029ec6dd8bb (patch) | |
tree | 71f93d1c41d64109e600bbe91056b4b4e07c83e1 /src/components/moderation/ReportDialog | |
parent | bb30b592d787870adc4b4d3e5029d8dc3125f7e7 (diff) | |
download | voidsky-53e43a957c2e0f3f020c34653cbf5029ec6dd8bb.tar.zst |
run `yarn lint --fix` (#9013)
Diffstat (limited to 'src/components/moderation/ReportDialog')
5 files changed, 16 insertions, 16 deletions
diff --git a/src/components/moderation/ReportDialog/action.ts b/src/components/moderation/ReportDialog/action.ts index fde2c7898..2da6e4829 100644 --- a/src/components/moderation/ReportDialog/action.ts +++ b/src/components/moderation/ReportDialog/action.ts @@ -1,7 +1,7 @@ import { - $Typed, - ChatBskyConvoDefs, - ComAtprotoModerationCreateReport, + type $Typed, + type ChatBskyConvoDefs, + type ComAtprotoModerationCreateReport, } from '@atproto/api' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' @@ -9,8 +9,8 @@ import {useMutation} from '@tanstack/react-query' import {logger} from '#/logger' import {useAgent} from '#/state/session' -import {ReportState} from './state' -import {ParsedReportSubject} from './types' +import {type ReportState} from './state' +import {type ParsedReportSubject} from './types' export function useSubmitReportMutation() { const {_} = useLingui() diff --git a/src/components/moderation/ReportDialog/copy.ts b/src/components/moderation/ReportDialog/copy.ts index 87e199f98..11536c00c 100644 --- a/src/components/moderation/ReportDialog/copy.ts +++ b/src/components/moderation/ReportDialog/copy.ts @@ -2,7 +2,7 @@ import {useMemo} from 'react' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {ParsedReportSubject} from './types' +import {type ParsedReportSubject} from './types' export function useCopyForSubject(subject: ParsedReportSubject) { const {_} = useLingui() diff --git a/src/components/moderation/ReportDialog/state.ts b/src/components/moderation/ReportDialog/state.ts index 3f55bfb01..18ee77df8 100644 --- a/src/components/moderation/ReportDialog/state.ts +++ b/src/components/moderation/ReportDialog/state.ts @@ -1,6 +1,6 @@ -import {AppBskyLabelerDefs, ComAtprotoModerationDefs} from '@atproto/api' +import {type AppBskyLabelerDefs, ComAtprotoModerationDefs} from '@atproto/api' -import {ReportOption} from './utils/useReportOptions' +import {type ReportOption} from './utils/useReportOptions' export type ReportState = { selectedOption?: ReportOption diff --git a/src/components/moderation/ReportDialog/types.ts b/src/components/moderation/ReportDialog/types.ts index 444f01c66..e84369905 100644 --- a/src/components/moderation/ReportDialog/types.ts +++ b/src/components/moderation/ReportDialog/types.ts @@ -1,12 +1,12 @@ import { - $Typed, - AppBskyActorDefs, - AppBskyFeedDefs, - AppBskyGraphDefs, - ChatBskyConvoDefs, + type $Typed, + type AppBskyActorDefs, + type AppBskyFeedDefs, + type AppBskyGraphDefs, + type ChatBskyConvoDefs, } from '@atproto/api' -import * as Dialog from '#/components/Dialog' +import type * as Dialog from '#/components/Dialog' export type ReportSubject = | $Typed<AppBskyActorDefs.ProfileViewBasic> diff --git a/src/components/moderation/ReportDialog/utils/parseReportSubject.ts b/src/components/moderation/ReportDialog/utils/parseReportSubject.ts index b79e49695..baab1934f 100644 --- a/src/components/moderation/ReportDialog/utils/parseReportSubject.ts +++ b/src/components/moderation/ReportDialog/utils/parseReportSubject.ts @@ -6,8 +6,8 @@ import { } from '@atproto/api' import { - ParsedReportSubject, - ReportSubject, + type ParsedReportSubject, + type ReportSubject, } from '#/components/moderation/ReportDialog/types' import * as bsky from '#/types/bsky' |