chore: add no unused vars lint rule
This commit is contained in:
@@ -108,7 +108,7 @@ export default function BookingCode() {
|
||||
<Checkbox
|
||||
checked={!!bookingCode?.value}
|
||||
{...register("bookingCode.flag", {
|
||||
onChange: function (e) {
|
||||
onChange: function () {
|
||||
if (bookingCode?.value || isOpen) {
|
||||
setValue("bookingCode.flag", true)
|
||||
}
|
||||
@@ -128,10 +128,7 @@ export default function BookingCode() {
|
||||
<Dialog>
|
||||
{({ close }) => (
|
||||
<div className={styles.popover}>
|
||||
<TabletCodeInput
|
||||
updateValue={updateBookingCodeFormValue}
|
||||
defaultValue={bookingCode?.value}
|
||||
/>
|
||||
<TabletCodeInput updateValue={updateBookingCodeFormValue} />
|
||||
<div className={styles.bookingCodeRememberVisible}>
|
||||
<CodeRemember
|
||||
bookingCodeValue={bookingCode?.value}
|
||||
|
||||
Reference in New Issue
Block a user