export const displayElement = (element) => element.style.display = 'block';
Error:
Assignment to property of function parameter 'element' (no-param-reassign).
This is a setting from the airbnb eslint. Thing is, I'm not sure how to accomplish this. What would be the recommended way to assign the style property?