Been working on this all morning and just can't seem to figure out what's wrong with this ternary expression. No errors are being recorded, but the first part of the expression never evaluates. Any ideas?
<a className="buy-proposals-credits" onClick={userPaywallStatus === PAYWALL_STATUS_WAITING
? () => openModal(PAYWALL_MODAL)
: () => openModal(PROPOSAL_CREDITS_MODAL)}>(Manage proposal credits)</a>