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:
psychedelicious
2023-12-29 00:03:21 +11:00
committed by Kent Keirsey
parent a47d91f0e7
commit f0b102d830
889 changed files with 16645 additions and 15595 deletions

View File

@@ -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>
);
};