We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3dcb93 commit dff221dCopy full SHA for dff221d
web/src/pages/index.tsx
@@ -25,7 +25,7 @@ import { useLoaderData } from "react-router-dom";
25
import { toast } from "sonner";
26
27
export default function IndexPage() {
28
- const urlParams = useLoaderData() as Partial<FormSchema>;
+ const urlParams = useLoaderData();
29
30
const { data: serverConfig } = useQuery<ServerConfig>({
31
queryKey: ["serverConfig"],
@@ -72,7 +72,7 @@ export default function IndexPage() {
72
headerValue: urlParams.headerValue ?? "",
73
injectorClassName: urlParams.injectorClassName ?? "",
74
packingMethod: urlParams.packingMethod ?? "",
75
- shrink: urlParams.shrink ?? false,
+ shrink: urlParams.shrink ?? true,
76
shellClassBase64: urlParams.shellClassBase64 ?? "",
77
},
78
});
0 commit comments