remove logs

This commit is contained in:
caranicas 2022-09-18 11:16:09 -04:00
parent d027352d79
commit 21057759de
3 changed files with 0 additions and 6 deletions

View File

@ -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;
};

View File

@ -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<HTMLCanvasElement, MouseEvent>
) => {
console.log("mouse down", e);
const {
nativeEvent: { offsetX, offsetY },

View File

@ -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) {