Drop accidental eslint dependency (#11460)
This commit is contained in:
@@ -13,8 +13,7 @@ export function useManageEmail2FA() {
|
||||
enabled,
|
||||
token,
|
||||
}:
|
||||
| {enabled: true; token?: undefined}
|
||||
| {enabled: false; token: string}) => {
|
||||
{enabled: true; token?: undefined} | {enabled: false; token: string}) => {
|
||||
if (!currentAccount?.email) {
|
||||
throw new Error('No email found for the current account')
|
||||
}
|
||||
|
||||
@@ -66,11 +66,7 @@ type ErrorItem = {
|
||||
}
|
||||
|
||||
type Item =
|
||||
| ProfileItem
|
||||
| ExistingChatItem
|
||||
| EmptyItem
|
||||
| PlaceholderItem
|
||||
| ErrorItem
|
||||
ProfileItem | ExistingChatItem | EmptyItem | PlaceholderItem | ErrorItem
|
||||
|
||||
export function SearchablePeopleList({
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user