Merged in fix/booking-flow-eslint-fix (pull request #3342)
fix: Upgrade booking-flow eslint config * Upgrade booking-flow eslint config Approved-by: Bianca Widstam
This commit is contained in:
@@ -30,6 +30,7 @@ export default function MemberPriceModal() {
|
||||
|
||||
useEffect(() => {
|
||||
if (join) {
|
||||
// eslint-disable-next-line react-hooks/set-state-in-effect
|
||||
setIsOpen(true)
|
||||
}
|
||||
}, [join])
|
||||
|
||||
@@ -49,6 +49,7 @@ export default function Signup({
|
||||
<div className={styles.additionalFormData}>
|
||||
<div
|
||||
ref={(el) => {
|
||||
// eslint-disable-next-line react-hooks/immutability
|
||||
refs.current.zipCode = el
|
||||
}}
|
||||
>
|
||||
@@ -64,6 +65,7 @@ export default function Signup({
|
||||
<div
|
||||
className={styles.dateField}
|
||||
ref={(el) => {
|
||||
// eslint-disable-next-line react-hooks/immutability
|
||||
refs.current.dateOfBirth = el
|
||||
}}
|
||||
>
|
||||
@@ -110,6 +112,7 @@ export default function Signup({
|
||||
return (
|
||||
<div
|
||||
ref={(el) => {
|
||||
// eslint-disable-next-line react-hooks/immutability
|
||||
refs.current.membershipNo = el
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user