mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 14:38:12 +00:00
fix
This commit is contained in:
@@ -315,7 +315,7 @@ export default function CompanyProfileForm({
|
|||||||
shouldValidate: true,
|
shouldValidate: true,
|
||||||
});
|
});
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [identity?.owner.email, user.email]);
|
}, [identity?.owner.email, user.email, rehydrate]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setValue(
|
setValue(
|
||||||
@@ -327,7 +327,7 @@ export default function CompanyProfileForm({
|
|||||||
{ shouldValidate: true },
|
{ shouldValidate: true },
|
||||||
);
|
);
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [identity?.owner.phone, etradeOwner?.phone, user.phoneNumber]);
|
}, [identity?.owner.phone, etradeOwner?.phone, user.phoneNumber, rehydrate]);
|
||||||
|
|
||||||
// "Same as …" links. A checked card prefills the target step's fields from the
|
// "Same as …" links. A checked card prefills the target step's fields from the
|
||||||
// source step and disables them (kept mirrored while linked); unchecking clears
|
// source step and disables them (kept mirrored while linked); unchecking clears
|
||||||
|
|||||||
Reference in New Issue
Block a user