Skip to content

Commit c2b070f

Browse files
authored
Rename inputs to inputField
1 parent 011d276 commit c2b070f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Checkout/Billing.component.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useForm } from 'react-hook-form';
22
import { InputField } from '../Input/InputField.component';
33
import { getCustomNumberValidation } from '../../utils/functions/functions';
44

5-
const inputs = [
5+
const inputField = [
66
{ label: 'Fornavn', name: 'firstName' },
77
{ label: 'Etternavn', name: 'lastName' },
88
{ label: 'Adresse', name: 'address1' },
@@ -53,7 +53,7 @@ const Billing = ({ onSubmit }) => {
5353
<section className="text-gray-700 container p-4 py-2 mx-auto">
5454
<form onSubmit={handleSubmit(onSubmit)}>
5555
<div className="mx-auto lg:w-1/2 flex flex-wrap">
56-
{inputs.map(({ label, name, customValidation }, key) => (
56+
{inputField.map(({ label, name, customValidation }, key) => (
5757
<InputField
5858
key={key}
5959
label={label}

0 commit comments

Comments
 (0)