import { Link } from 'react-router-dom' import { getValue } from '../../../../Utils/GetValue' import { Item } from '../../../../types' import { useGetItemTags } from '../../hooks/useTags' export const PopupButton = ({ url, parameterField, text, colorField, item, }: { url: string parameterField?: string text: string colorField?: string item?: Item }) => { const params = new URLSearchParams(window.location.search) const getItemTags = useGetItemTags() return ( ) }