mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40: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);
|
clearInterval(intervalRef.current);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
}, [isSubmitting, initialProgress, quality]);
|
||||||
}, [initialProgress, quality]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (initialProgress >= 1 || cancelled) {
|
if (initialProgress >= 1 || cancelled) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue