app/javascript/mastodon/actions/push_notifications/registerer.js
Function register
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function register () {
return (dispatch, getState) => {
dispatch(setBrowserSupport(supportsPushNotifications));
if (supportsPushNotifications) {