diff --git a/src/components/Identify.jsx b/src/components/Identify.jsx
index 29d92528..de17604b 100644
--- a/src/components/Identify.jsx
+++ b/src/components/Identify.jsx
@@ -1,5 +1,6 @@
import PropTypes from 'prop-types';
import { forwardRef } from 'react';
+import useMap from '../contexts/useMap';
import Button from '../utah-design-system/Button';
import Icon from '../utah-design-system/Icon';
import Link from '../utah-design-system/Link';
@@ -12,7 +13,6 @@ const buttonClasses = 'border-none px-2 my-1';
const urlRegex = /^https?:\/\/\S*$/;
function Cell({ value }) {
// if this is a link, return an anchor tag
- console.log('value', value);
if (urlRegex.test(value)) {
return (
@@ -30,9 +30,11 @@ Cell.propTypes = {
};
const Identify = forwardRef(function Identify(
- { attributes, fields, onBack, links },
+ { attributes, fields, geometry, links, onBack },
forwardedRef,
) {
+ const { zoom } = useMap();
+
const columns = [
{
accessorKey: 'field',
@@ -64,7 +66,7 @@ const Identify = forwardRef(function Identify(
Attributes
Related Records
Links
-