Drop accidental eslint dependency (#11460)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user