rails/react-components/src/library/library.tsx
PortalComponents
has 35 functions (exceeds 20 allowed). Consider refactoring. Open
Open
window.PortalPages = window.PortalComponents = {
settings: {}, // default to empty, used to set flags from portal templates
// The URL of the page will change as the user opens resource lightboxes. This
// initialPath provides a way for the code to know the initial page loaded was
File library.tsx
has 267 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import React, { createElement } from "react";
import ReactDOM from "react-dom/client";
import CollectionsPage from "./components/collections-page";
import CollectionCards from "./components/collection-cards";