clean build

This commit is contained in:
caranicas 2022-09-29 14:26:06 -04:00
parent 50e929eb0c
commit 5ed6bba412
6 changed files with 5 additions and 23 deletions

View File

@ -139,16 +139,7 @@ export const doMakeImage = async (reqBody: ImageRequest) => {
export const doStopImage = async () => {
console.log("stopping image");
const response = await fetch(`${API_URL}/image/stop`);
console.log("stopping image response", response);
const data = await response.json();
console.log("stopping image data", data);
return data;
// try {
// let res = await fetch('/image/stop')
// } catch (e) {
// console.log(e)
// }
};

View File

@ -93,7 +93,7 @@ export default function MakeButton() {
}
catch (e) {
updateQueueStatus(id, QueueStatus.error);
console.log("Error HACKING JSON: ", e)
console.warn("Error HACKING JSON: ", e)
}
}
@ -142,14 +142,13 @@ export default function MakeButton() {
// TODO this should be the the new out instead of the try catch
// wait for the path to come back instead of the data
setStatus(FetchingStates.SUCCEEDED);
console.log(update);
}
else if (status === 'failed') {
console.warn('failed');
console.log(update);
console.warn(update);
}
else {
console.log("UNKNOWN ?", update);
console.warn("UNKNOWN ?", update);
}
}
catch (e) {

View File

@ -49,8 +49,6 @@ function ModifierGrouping({ title, category, tags }: ModifierGroupingProps) {
setIsExpanded(!isExpanded);
};
// console.log("ModifierGrouping", tags);
return (
<div className={ImageModifierGrouping}>
<button type="button" className={MenuButton} onClick={_toggleExpand}>
@ -88,7 +86,6 @@ export default function ImageModifers() {
<ul className={ImagerModifierGroups}>
{allModifiers.map((item, index) => {
// console.log('mod item ', item);
return (
<li key={item.category}>

View File

@ -30,9 +30,6 @@ export default function CreationPanel() {
const showQueue = useCreateUI((state) => state.showQueue);
const hasQueue = useRequestQueue((state) => state.hasAnyQueue());
// console.log('hasQueue', hasQueue);
console.log('showQueue', showQueue);
return (
<>
<div className={CreationPaneMain}>

View File

@ -22,12 +22,10 @@ export default function QueueDisplay() {
const removeErrored = useRequestQueue((state) => state.removeErrored);
const clearCompleted = () => {
console.log('clear completed');
removeCompleted();
}
const clearErrored = () => {
console.log('clear errored');
removeErrored();
}

File diff suppressed because one or more lines are too long