diff --git a/renderer/pages/index.tsx b/renderer/pages/index.tsx index d318122..c74c1e9 100644 --- a/renderer/pages/index.tsx +++ b/renderer/pages/index.tsx @@ -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("");