import variables from 'modules/variables'; import React, { memo } from 'react'; import { MdAutoFixHigh, MdOutlineArrowForward, MdOutlineOpenInNew } from 'react-icons/md'; function Items({ type, items, collection, toggleFunction, collectionFunction, onCollection, filter, }) { return ( <> {(type === 'all' && !onCollection && (filter === null || filter === '')) || (type === 'collections' && !onCollection && (filter === null || filter === '')) ? ( <>