From 21057759de6d52f07812db088f74e5edbab6506b Mon Sep 17 00:00:00 2001 From: caranicas Date: Sun, 18 Sep 2022 11:16:09 -0400 Subject: [PATCH] remove logs --- ui/frontend/build_src/src/api/index.ts | 1 - .../build_src/src/components/molecules/drawImage/index.tsx | 2 -- ui/index.html | 3 --- 3 files changed, 6 deletions(-) diff --git a/ui/frontend/build_src/src/api/index.ts b/ui/frontend/build_src/src/api/index.ts index ecb6eeb1..a9f581ca 100644 --- a/ui/frontend/build_src/src/api/index.ts +++ b/ui/frontend/build_src/src/api/index.ts @@ -34,7 +34,6 @@ export const getSaveDirectory = async () => { export const KEY_CONFIG = "config"; export const getConfig = async () => { const response = await fetch(`${API_URL}/app_config`); - console.log("getConfig response", response); const data = await response.json(); return data; }; diff --git a/ui/frontend/build_src/src/components/molecules/drawImage/index.tsx b/ui/frontend/build_src/src/components/molecules/drawImage/index.tsx index 0a9a4d44..ede5dc7b 100644 --- a/ui/frontend/build_src/src/components/molecules/drawImage/index.tsx +++ b/ui/frontend/build_src/src/components/molecules/drawImage/index.tsx @@ -31,7 +31,6 @@ export default function DrawImage({ const [canvasHeight, setCanvasHeight] = useState(512); useEffect(() => { - console.log(imageData); const img = new Image(); img.onload = () => { setCanvasWidth(img.width); @@ -61,7 +60,6 @@ export default function DrawImage({ const _handleMouseDown = ( e: React.MouseEvent ) => { - console.log("mouse down", e); const { nativeEvent: { offsetX, offsetY }, diff --git a/ui/index.html b/ui/index.html index 479f1732..0e465793 100644 --- a/ui/index.html +++ b/ui/index.html @@ -1172,12 +1172,9 @@ function showInitImagePreview() { let file = initImageSelector.files[0] reader.addEventListener('load', function() { - // console.log(file.name, reader.result) initImagePreview.src = reader.result initImagePreviewContainer.style.display = 'block' promptStrengthContainer.style.display = 'block' - - // maskSetting.style.display = 'block' }) if (file) {