client/src/preview/components/asset/AssetLibrary.tsx
Function AssetLibrary
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function AssetLibrary(props: { pathToAssets: string; privateRepo: boolean }) {
const assets = useSelector(
selectAssetsByTypeAndPrivacy(props.pathToAssets, props.privateRepo),
);
const [filter, setFilter] = useState('');