mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-13 18:30:54 +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) => {
|
{logData.map((logLine: any) => {
|
||||||
console.log(logData);
|
|
||||||
return <p className="">{logLine}</p>;
|
return <p className="">{logLine}</p>;
|
||||||
})}
|
})}
|
||||||
</code>
|
</code>
|
||||||
|
@ -590,19 +590,7 @@ const Home = () => {
|
|||||||
<img
|
<img
|
||||||
src={
|
src={
|
||||||
"file://" +
|
"file://" +
|
||||||
`${
|
`${upscaledImagePath ? upscaledImagePath : imagePath}`
|
||||||
upscaledImagePath
|
|
||||||
? upscaledImagePath.replace(
|
|
||||||
/([^/\\]+)$/i,
|
|
||||||
encodeURIComponent(
|
|
||||||
upscaledImagePath.match(/[^/\\]+$/i)[0]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
: imagePath.replace(
|
|
||||||
/([^/\\]+)$/i,
|
|
||||||
encodeURIComponent(imagePath.match(/[^/\\]+$/i)[0])
|
|
||||||
)
|
|
||||||
}`
|
|
||||||
}
|
}
|
||||||
onLoad={(e: any) => {
|
onLoad={(e: any) => {
|
||||||
setDimensions({
|
setDimensions({
|
||||||
@ -678,9 +666,6 @@ const Home = () => {
|
|||||||
<img
|
<img
|
||||||
/* USE REGEX TO GET THE FILENAME AND ENCODE IT INTO PROPER FORM IN ORDER TO AVOID ERRORS DUE TO SPECIAL CHARACTERS */
|
/* USE REGEX TO GET THE FILENAME AND ENCODE IT INTO PROPER FORM IN ORDER TO AVOID ERRORS DUE TO SPECIAL CHARACTERS */
|
||||||
src={"file:///" + upscaledImagePath}
|
src={"file:///" + upscaledImagePath}
|
||||||
onChange={(e) => {
|
|
||||||
console.log(e.currentTarget);
|
|
||||||
}}
|
|
||||||
alt="Upscayl"
|
alt="Upscayl"
|
||||||
style={{
|
style={{
|
||||||
objectFit: "contain",
|
objectFit: "contain",
|
||||||
|
Loading…
Reference in New Issue
Block a user