Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 655e9b0

Browse files
committed
fixup! chore: un-nest components
1 parent 143f2fd commit 655e9b0

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

site/src/components/PreferencesAccountForm/PreferencesAccountForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import TextField from "@material-ui/core/TextField"
33
import { FormikContextType, FormikErrors, useFormik } from "formik"
44
import React from "react"
55
import * as Yup from "yup"
6-
import { getFormHelpers, onChangeTrimmed } from "../Form/utils"
6+
import { getFormHelpers, onChangeTrimmed } from "../../util/formUtils"
77
import { LoadingButton } from "../LoadingButton/LoadingButton"
88
import { Stack } from "../Stack/Stack"
99

site/src/components/SignInForm/SignInForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import TextField from "@material-ui/core/TextField"
44
import { FormikContextType, useFormik } from "formik"
55
import React from "react"
66
import * as Yup from "yup"
7-
import { getFormHelpers, onChangeTrimmed } from "../Form/utils"
7+
import { getFormHelpers, onChangeTrimmed } from "../../util/formUtils"
88
import { Welcome } from "../Welcome/Welcome"
99
import { LoadingButton } from "./../LoadingButton/LoadingButton"
1010

site/src/components/Form/utils.test.tsx renamed to site/src/util/formUtils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FormikContextType } from "formik/dist/types"
2-
import { getFormHelpers, onChangeTrimmed } from "./utils"
2+
import { getFormHelpers, onChangeTrimmed } from "./formUtils"
33

44
interface TestType {
55
untouchedGoodField: string
File renamed without changes.

0 commit comments

Comments
 (0)