mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 08:20:14 +01:00
🖼️ fix: resolve stuck pixel animation for image generation (#10716)
This commit is contained in:
parent
801c95a829
commit
90f0bcde44
1 changed files with 1 additions and 2 deletions
|
|
@ -145,8 +145,7 @@ export default function OpenAIImageGen({
|
|||
clearInterval(intervalRef.current);
|
||||
}
|
||||
};
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [initialProgress, quality]);
|
||||
}, [isSubmitting, initialProgress, quality]);
|
||||
|
||||
useEffect(() => {
|
||||
if (initialProgress >= 1 || cancelled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue