onChange callback got removed in eslint cleanups
Triggered eslint:no-empty-function, this PR circumvents this by adding a comment as part of the function body.
This commit is contained in:
parent
c13e067f72
commit
383ec64a7f
1 changed files with 3 additions and 0 deletions
|
@ -238,6 +238,9 @@ export default function Book(props: any): JSX.Element {
|
|||
id="phone"
|
||||
required
|
||||
className="shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border-gray-300 rounded-md"
|
||||
onChange={() => {
|
||||
/* DO NOT REMOVE: Callback required by PhoneInput, comment added to satisfy eslint:no-empty-function */
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue