Skip to content

Commit 321185e

Browse files
committed
#1287: Ran Prettier to fix formatting issues
1 parent 3b9b37d commit 321185e

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

src/frontend/src/pages/AdminToolsPage/FinanceConfig/AccountCodeFormModal.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ interface AccountCodeFormModalProps {
2323

2424
const AccountCodeFormModal = ({ showModal, handleClose, defaultValues, onSubmit }: AccountCodeFormModalProps) => {
2525
const toast = useToast();
26-
const {
27-
handleSubmit,
28-
control,
29-
reset
30-
} = useForm({
26+
const { handleSubmit, control, reset } = useForm({
3127
mode: 'onChange',
3228
resolver: yupResolver(schema),
3329
defaultValues: {

src/frontend/src/pages/AdminToolsPage/FinanceConfig/CreateVendorModal.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ const CreateVendorModal = ({ showModal, handleClose }: NewVendorProps) => {
3333
handleClose();
3434
};
3535

36-
const {
37-
handleSubmit,
38-
control,
39-
reset
40-
} = useForm({
36+
const { handleSubmit, control, reset } = useForm({
4137
mode: 'onChange',
4238
resolver: yupResolver(schema),
4339
defaultValues: {

0 commit comments

Comments
 (0)