Here's an alternate fix for eslint errors. I refactored the Header component to define it's functions outside of the render method and disabled the no-unused-vars rule for just the one line where we have a violation. It has a bunch of spacing-related linting errors that for some reason I couldn't get eslint to fix.
Here's an alternate fix for eslint errors. I refactored the Header component to define it's functions outside of the render method and disabled the no-unused-vars rule for just the one line where we have a violation. It has a bunch of spacing-related linting errors that for some reason I couldn't get eslint to fix.