1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-12 01:40:53 +01:00

Remove console log

This commit is contained in:
Nayam Amarshe 2023-09-09 18:56:59 +05:30
parent 2def61e194
commit 539ceb5743
2 changed files with 1 additions and 17 deletions

View File

@ -21,7 +21,6 @@ export function LogArea({ copyOnClickHandler, isCopied, logData }) {
)}
{logData.map((logLine: any) => {
console.log(logData);
return <p className="">{logLine}</p>;
})}
</code>

View File

@ -590,19 +590,7 @@ const Home = () => {
<img
src={
"file://" +
`${
upscaledImagePath
? upscaledImagePath.replace(
/([^/\\]+)$/i,
encodeURIComponent(
upscaledImagePath.match(/[^/\\]+$/i)[0]
)
)
: imagePath.replace(
/([^/\\]+)$/i,
encodeURIComponent(imagePath.match(/[^/\\]+$/i)[0])
)
}`
`${upscaledImagePath ? upscaledImagePath : imagePath}`
}
onLoad={(e: any) => {
setDimensions({
@ -678,9 +666,6 @@ const Home = () => {
<img
/* USE REGEX TO GET THE FILENAME AND ENCODE IT INTO PROPER FORM IN ORDER TO AVOID ERRORS DUE TO SPECIAL CHARACTERS */
src={"file:///" + upscaledImagePath}
onChange={(e) => {
console.log(e.currentTarget);
}}
alt="Upscayl"
style={{
objectFit: "contain",