Fixes compilation error; builds new bundle

This commit is contained in:
psychedelicious 2022-10-29 16:32:21 +11:00
parent f22f81b4ff
commit a701e4f90b
6 changed files with 527 additions and 524 deletions

517
frontend/dist/assets/index.01c74d27.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InvokeAI - A Stable Diffusion Toolkit</title>
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
<script type="module" crossorigin src="./assets/index.3b67f519.js"></script>
<link rel="stylesheet" href="./assets/index.165b9042.css">
<script type="module" crossorigin src="./assets/index.01c74d27.js"></script>
<link rel="stylesheet" href="./assets/index.3237bca3.css">
</head>
<body>

View File

@ -35,7 +35,6 @@ const Cacher = () => {
isDrawing,
} = useAppSelector((state: RootState) => state.inpainting);
useLayoutEffect(() => {
if (!maskLayerRef.current) return;
maskLayerRef.current.cache({
@ -79,10 +78,14 @@ const Cacher = () => {
width,
height,
});
}, 0)
}, 0);
return () => { window.clearTimeout(intervalId); }
})
return () => {
window.clearTimeout(intervalId);
};
});
return null;
};
export default Cacher;