1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-27 17:00:52 +01:00

Fix stuff

This commit is contained in:
Nayam Amarshe 2024-11-01 17:41:34 +05:30
parent fbe3143ff6
commit 2b0f940356
2 changed files with 5 additions and 1 deletions

View File

@ -163,6 +163,7 @@ const MainContent = ({
};
const handlePaste = (e: React.ClipboardEvent<HTMLDivElement>) => {
console.log("📋 Pasted: ", e);
resetImagePaths();
e.preventDefault();
const items = e.clipboardData.items;

View File

@ -284,7 +284,10 @@ const Home = () => {
}
return (
<div className="flex h-screen w-screen flex-row overflow-hidden bg-base-300">
<div
className="flex h-screen w-screen flex-row overflow-hidden bg-base-300"
onPaste={(e) => console.log(e)}
>
<Sidebar
imagePath={imagePath}
dimensions={dimensions}