mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): lint
This commit is contained in:
parent
2d922a0a65
commit
ac0d0019bd
@ -11,7 +11,11 @@ export const InvTab = memo(
|
|||||||
<ChakraTab ref={ref} {...rest}>
|
<ChakraTab ref={ref} {...rest}>
|
||||||
{children}
|
{children}
|
||||||
<Spacer />
|
<Spacer />
|
||||||
{badges?.map((b, i) => <InvBadge key={`${b}.${i}`} colorScheme='invokeYellow'>{b}</InvBadge>)}
|
{badges?.map((b, i) => (
|
||||||
|
<InvBadge key={`${b}.${i}`} colorScheme="invokeYellow">
|
||||||
|
{b}
|
||||||
|
</InvBadge>
|
||||||
|
))}
|
||||||
</ChakraTab>
|
</ChakraTab>
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import type {
|
import type { UseDisclosureReturn } from '@chakra-ui/react';
|
||||||
UseDisclosureReturn} from '@chakra-ui/react';
|
|
||||||
import { InvConfirmationAlertDialog } from 'common/components/InvConfirmationAlertDialog/InvConfirmationAlertDialog';
|
import { InvConfirmationAlertDialog } from 'common/components/InvConfirmationAlertDialog/InvConfirmationAlertDialog';
|
||||||
import { InvText } from 'common/components/InvText/wrapper';
|
import { InvText } from 'common/components/InvText/wrapper';
|
||||||
import { useClearQueue } from 'features/queue/hooks/useClearQueue';
|
import { useClearQueue } from 'features/queue/hooks/useClearQueue';
|
||||||
|
@ -12,13 +12,7 @@ import HotkeysModal from 'features/system/components/HotkeysModal/HotkeysModal';
|
|||||||
import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus';
|
import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus';
|
||||||
import { memo } from 'react';
|
import { memo } from 'react';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import {
|
import { FaBug, FaCog, FaDiscord, FaGithub, FaKeyboard } from 'react-icons/fa';
|
||||||
FaBug,
|
|
||||||
FaCog,
|
|
||||||
FaDiscord,
|
|
||||||
FaGithub,
|
|
||||||
FaKeyboard,
|
|
||||||
} from 'react-icons/fa';
|
|
||||||
import { FaWrench } from 'react-icons/fa6';
|
import { FaWrench } from 'react-icons/fa6';
|
||||||
|
|
||||||
import SettingsModal from './SettingsModal';
|
import SettingsModal from './SettingsModal';
|
||||||
|
Loading…
Reference in New Issue
Block a user