mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): memoize all components
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Flex } from '@chakra-ui/react';
|
||||
import CancelButton from './CancelButton';
|
||||
import InvokeButton from './InvokeButton';
|
||||
import { memo } from 'react';
|
||||
|
||||
/**
|
||||
* Buttons to start and cancel image generation.
|
||||
@@ -14,4 +15,4 @@ const ProcessButtons = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default ProcessButtons;
|
||||
export default memo(ProcessButtons);
|
||||
|
||||
Reference in New Issue
Block a user