/* eslint-disable @typescript-eslint/no-unnecessary-condition */ /* eslint-disable @typescript-eslint/restrict-template-expressions */ import { Link } from 'react-router-dom' import { useGetItemTags } from '#components/Map/hooks/useTags' import { getValue } from '#utils/GetValue' import type { Item } from '#types/Item' 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 ( ) }