import React, { useContext, useState } from 'react'; import PropTypes from 'prop-types'; import { I18nContext } from '../../../contexts/i18n'; import { Menu, MenuItem } from '../../ui/menu'; const CollectibleOptions = ({ onRemove, onViewOnOpensea }) => { const t = useContext(I18nContext); const [collectibleOptionsButtonElement, setCollectibleOptionsButtonElement] = useState(null); const [collectibleOptionsOpen, setCollectibleOptionsOpen] = useState(false); return ( <>