Update test case, fix comments

This commit is contained in:
2023-12-03 22:22:36 +07:00
parent d53b869d65
commit 5d5eb1adaf
135 changed files with 8702 additions and 1491 deletions
@@ -1,8 +1,4 @@
import {
FieldValues,
RegisterOptions,
useFormContext,
} from 'react-hook-form';
import { FieldValues, RegisterOptions, useFormContext } from 'react-hook-form';
import { ChangeEventHandler } from 'react';
// Styled
@@ -46,7 +42,7 @@ const Select = ({
: { onChange: onChange })}
>
{options.map((option) => (
<option value={option.value} key={option.value} data-testid='select-option'>
<option value={option.value} key={option.value}>
{option.label}
</option>
))}