This commit is contained in:
caranicas 2022-09-26 16:53:13 -04:00
parent b8f47545ed
commit 6effd783c0

View File

@ -229,8 +229,6 @@ export default function MakeButton() {
// potentially update the seed
await startStream(id, options);
}
console.log('USE EFFECT', hasQueue);
console.log('status', status);
if (status === FetchingStates.PROGRESSING || status === FetchingStates.FETCHING) {
return;
@ -246,15 +244,6 @@ export default function MakeButton() {
}, [hasQueue, status, id, options, startStream]);
// useEffect(() => {
// // if the status is complete we can remove the image from the queue
// if (status === FetchingStates.COMPLETE) {
// // debugger;
// removeFirstInQueue();
// }
// }, [removeFirstInQueue, status]);
return (
<button
className={MakeButtonStyle}