Drop accidental eslint dependency (#11460)

This commit is contained in:
Samuel Newman
2026-08-14 10:21:52 +03:00
committed by GitHub
parent afb3cdc26f
commit 70195d7059
62 changed files with 197 additions and 483 deletions
@@ -238,14 +238,12 @@ function GroupSettings({
: []),
]
items.push(
...groupMembers.map(
(profile): Item => ({
type: 'CHAT_MEMBER',
key: profile.did,
profile,
status: primaryMember?.did === profile.did ? 'owner' : 'standard',
}),
),
...groupMembers.map((profile): Item => ({
type: 'CHAT_MEMBER',
key: profile.did,
profile,
status: primaryMember?.did === profile.did ? 'owner' : 'standard',
})),
)
const placeholderCount = Math.max(
0,
@@ -40,8 +40,7 @@ import * as bsky from '#/types/bsky'
* embed: either a quoted post or a group chat invite link.
*/
export type MessageEmbedState =
| {type: 'post'; uri: string}
| {type: 'invite'; code: string}
{type: 'post'; uri: string} | {type: 'invite'; code: string}
export function useMessageEmbed() {
const route =
@@ -16,9 +16,7 @@ export type SystemMessageDateDividerItem = {
}
export type RenderItem =
| ConvoItem
| SystemMessageGroupItem
| SystemMessageDateDividerItem
ConvoItem | SystemMessageGroupItem | SystemMessageDateDividerItem
function getSentAt(item: ConvoItem): string | null {
if (
@@ -38,9 +38,9 @@ export function GermButton({
const linkWarningControl = Dialog.useDialogControl()
// exclude `none` and all unknown values
if (
!(germ.showButtonTo === 'everyone' || germ.showButtonTo === 'usersIFollow')
) {
if (!(
germ.showButtonTo === 'everyone' || germ.showButtonTo === 'usersIFollow'
)) {
return null
}
+1 -5
View File
@@ -31,11 +31,7 @@ type SubmitTask = {
}
type ErrorField =
| 'invite-code'
| 'email'
| 'handle'
| 'password'
| 'date-of-birth'
'invite-code' | 'email' | 'handle' | 'password' | 'date-of-birth'
export type SignupState = {
analytics?: AnalyticsContextType