mirror of
https://github.com/upscayl/upscayl.git
synced 2026-04-03 03:00:13 -04:00
Refactor code and remove config vars to fix ASCII path decoding
This commit is contained in:
@@ -9,12 +9,7 @@ import { DonateButton } from "./DonateButton";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { themeChange } from "theme-change";
|
||||
import { useAtom, useAtomValue } from "jotai";
|
||||
import {
|
||||
customModelsPathAtom,
|
||||
noImageProcessingAtom,
|
||||
overwriteAtom,
|
||||
scaleAtom,
|
||||
} from "../../atoms/userSettingsAtom";
|
||||
import { customModelsPathAtom, scaleAtom } from "../../atoms/userSettingsAtom";
|
||||
import { modelsListAtom } from "../../atoms/modelsListAtom";
|
||||
import useLog from "../hooks/useLog";
|
||||
import { CompressionInput } from "./CompressionInput";
|
||||
|
||||
@@ -334,7 +334,7 @@ function LeftPaneImageSteps({
|
||||
</p>
|
||||
)}
|
||||
<button
|
||||
className="btn btn-accent"
|
||||
className="btn btn-secondary"
|
||||
onClick={
|
||||
progress.length > 0 || !outputPath
|
||||
? () =>
|
||||
|
||||
Reference in New Issue
Block a user