app/javascript/components/App.js
Function App
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const App = () => {
const mainPage = 'emotion-selection-web'
const [error, setError] = useState('')
const [frontDatabase, setFrontDatabase] = useState(initDB)
const [isLoading, setIsLoading] = useState(false)