Showing 4 of 8 total issues
Function render
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const {
headerText,
buttonText,
position,
Function App
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
Function render
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render(){
const {
headerStyles,
headerText,
position,
Function registerValidSW
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function registerValidSW(swUrl, config) {
navigator.serviceWorker
.register(swUrl)
.then(registration => {
registration.onupdatefound = () => {