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:
parent
2def61e194
commit
539ceb5743
@ -21,7 +21,6 @@ export function LogArea({ copyOnClickHandler, isCopied, logData }) {
|
||||
)}
|
||||
|
||||
{logData.map((logLine: any) => {
|
||||
console.log(logData);
|
||||
return <p className="">{logLine}</p>;
|
||||
})}
|
||||
</code>
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user