Skip to content

Commit 50707e1

Browse files
committed
feat: shrink by default
1 parent 34198a5 commit 50707e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { useLoaderData } from "react-router-dom";
2525
import { toast } from "sonner";
2626

2727
export default function IndexPage() {
28-
const urlParams = useLoaderData() as Partial<FormSchema>;
28+
const urlParams = useLoaderData();
2929

3030
const { data: serverConfig } = useQuery<ServerConfig>({
3131
queryKey: ["serverConfig"],
@@ -72,7 +72,7 @@ export default function IndexPage() {
7272
headerValue: urlParams.headerValue ?? "",
7373
injectorClassName: urlParams.injectorClassName ?? "",
7474
packingMethod: urlParams.packingMethod ?? "",
75-
shrink: urlParams.shrink ?? false,
75+
shrink: urlParams.shrink ?? true,
7676
shellClassBase64: urlParams.shellClassBase64 ?? "",
7777
},
7878
});

0 commit comments

Comments
 (0)