Showing 1 of 19 total issues
Function main
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const main = () => {
const element = document.getElementById("root");
if (!element) {
throw new Error("no root element");