Skip to content

Commit e963321

Browse files
committed
chore: sort imports
1 parent d25451a commit e963321

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/form/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { existsSync } from "node:fs";
22
import { mkdir, readFile, readdir } from "node:fs/promises";
33
import { resolve } from "node:path";
44
import { fileURLToPath } from "node:url";
5-
import { copy } from "fs-extra/esm";
65
import {
76
cancel,
87
confirm,
@@ -12,6 +11,7 @@ import {
1211
select,
1312
text,
1413
} from "@clack/prompts";
14+
import { copy } from "fs-extra/esm";
1515
import { bgGreen, bgWhite, black, bold, dim, green } from "kleur/colors";
1616

1717
const frameworks = [

packages/form/src/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import mapObject from "just-map-object";
22
import {
3+
ZodArray,
34
ZodBoolean,
45
type ZodError,
6+
ZodNullable,
57
ZodNumber,
68
ZodObject,
79
ZodOptional,
810
type ZodRawShape,
911
type ZodType,
1012
z,
11-
ZodNullable,
12-
ZodArray,
1313
} from "zod";
1414

1515
export { mapObject };

packages/form/templates/preact/Form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import {
66
type FieldErrors,
77
type FormState,
88
type FormValidator,
9+
formNameInputProps,
910
getInitialFormState,
1011
toSetValidationErrors,
1112
toTrackAstroSubmitStatus,
1213
toValidateField,
1314
validateForm,
14-
formNameInputProps,
1515
} from "simple:form";
1616

1717
export function useCreateFormContext(

packages/form/templates/react/Form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import {
1010
type FieldErrors,
1111
type FormState,
1212
type FormValidator,
13+
formNameInputProps,
1314
getInitialFormState,
1415
toSetValidationErrors,
1516
toTrackAstroSubmitStatus,
1617
toValidateField,
1718
validateForm,
18-
formNameInputProps,
1919
} from "simple:form";
2020

2121
export function useCreateFormContext(

0 commit comments

Comments
 (0)