Merge pull request #315 from emrysal/bugfix/fixes-phoneinput-crashing
onChange callback got removed in eslint cleanups
This commit is contained in:
commit
5ebd9d5270
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