1
0
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:
Nayam Amarshe 2023-08-14 16:26:11 +05:30
parent e9764baabf
commit 29eef36d52

View File

@ -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("");