mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-07 20:15:06 -05:00
feat(ui): ux improvements & redesign
This is a squash merge of a bajillion messy small commits created while iterating on the UI component library and redesign.
This commit is contained in:
committed by
Kent Keirsey
parent
a47d91f0e7
commit
f0b102d830
@@ -1,7 +1,7 @@
|
||||
import IAIButton from 'common/components/IAIButton';
|
||||
import { InvButton } from 'common/components/InvButton/InvButton';
|
||||
import { useClearInvocationCache } from 'features/queue/hooks/useClearInvocationCache';
|
||||
import { memo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useClearInvocationCache } from 'features/queue/hooks/useClearInvocationCache';
|
||||
|
||||
const ClearInvocationCacheButton = () => {
|
||||
const { t } = useTranslation();
|
||||
@@ -9,13 +9,13 @@ const ClearInvocationCacheButton = () => {
|
||||
useClearInvocationCache();
|
||||
|
||||
return (
|
||||
<IAIButton
|
||||
<InvButton
|
||||
isDisabled={isDisabled}
|
||||
isLoading={isLoading}
|
||||
onClick={clearInvocationCache}
|
||||
>
|
||||
{t('invocationCache.clear')}
|
||||
</IAIButton>
|
||||
</InvButton>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user