HandleSubscriptionToggle

Function: handleSubscriptionToggle()

[object Object]

Defined in: components/Account/ChangeProfileForm/ChangeAccountForm.handlers.tsx:20

Toggles a mailing list's membership in the set of subscribed list ids.

Parameters

id

[object Object]

The id of the mailing list.

checked

[object Object]

Whether the checkbox is checked or not.

setSubscribedIds

(setter) => void

A function to update the subscribed-ids state.

Returns

[object Object]

On this page