mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-27 17:00: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 = () => {
|
||||
// STATES
|
||||
const [os, setOs] = useState("");
|
||||
const [os, setOs] = useState<"linux" | "mac" | "win" | undefined>(undefined);
|
||||
const [imagePath, SetImagePath] = useState("");
|
||||
const [upscaledImagePath, setUpscaledImagePath] = useState("");
|
||||
const [outputPath, setOutputPath] = useState("");
|
||||
|
Loading…
Reference in New Issue
Block a user