mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-28 01:10:52 +01:00
Fix OS state type
This commit is contained in:
parent
e9764baabf
commit
29eef36d52
@ -17,7 +17,7 @@ import useLog from "../components/hooks/useLog";
|
|||||||
|
|
||||||
const Home = () => {
|
const Home = () => {
|
||||||
// STATES
|
// STATES
|
||||||
const [os, setOs] = useState("");
|
const [os, setOs] = useState<"linux" | "mac" | "win" | undefined>(undefined);
|
||||||
const [imagePath, SetImagePath] = useState("");
|
const [imagePath, SetImagePath] = useState("");
|
||||||
const [upscaledImagePath, setUpscaledImagePath] = useState("");
|
const [upscaledImagePath, setUpscaledImagePath] = useState("");
|
||||||
const [outputPath, setOutputPath] = useState("");
|
const [outputPath, setOutputPath] = useState("");
|
||||||
|
Loading…
Reference in New Issue
Block a user