Extract nested conditionals into separate helper functions: - check_amount_change/2 and related helpers in MembershipFeeTypeLive.Form - check_interval_change/2 and related helpers in MemberLive.Form This reduces nesting depth from 3 to 2, improving code readability. |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| helpers | ||
| live | ||
| member_live/index | ||
| translations | ||
| auth_overrides.ex | ||
| endpoint.ex | ||
| gettext.ex | ||
| live_helpers.ex | ||
| live_user_auth.ex | ||
| locale_controller.ex | ||
| router.ex | ||
| telemetry.ex | ||