diff --git a/src/components/presentational/FootprintResults.jsx b/src/components/presentational/FootprintResults.jsx
index ae169e65f45e2a4c67f86863533f157e110fd097..800aa965aa1a2b04121b19e54b62ec7556b20f48 100644
--- a/src/components/presentational/FootprintResults.jsx
+++ b/src/components/presentational/FootprintResults.jsx
@@ -32,13 +32,6 @@ export default function FootprintResults(props) {
const [oldTargetName, setOldTargetName] = React.useState("");
const [oldFilterString, setOldFilterString] = React.useState("");
- /*const [selectedOptionsWithValues, setSelectedOptionsWithValues] = React.useState([]);
-
- // Function to update selected options and values
- const updateSelectedOptions = (selectedOptions) => {
- setSelectedOptionsWithValues(selectedOptions);
- }; */
-
const addFeatures = (newFeatures, key) => {
let myFeatureCollections = featureCollections;
myFeatureCollections[key].features.push(...newFeatures);
@@ -221,7 +214,7 @@ export default function FootprintResults(props) {
if(numFeatures > matched) {
setNumFeatures(matched);
}
-
+
return (
- {/*}
-
- {selectedOptionsWithValues.map((optionWithValues, index) => (
- -
- Option: {optionWithValues.option}, Value: {optionWithValues.value}
-
- ))}
-
*/}
{props.feature?.properties &&
Object.entries(props.feature.properties).map(([key, value]) => {
// Check if the key exists in the selected queryables
diff --git a/src/components/presentational/SearchAndFilterInput.jsx b/src/components/presentational/SearchAndFilterInput.jsx
index 1c61af4eeccfd28f56c4150279c4c3307f7bdbf2..34b7cb25c2597a373fa3ff8e14f19a6ca29b918d 100644
--- a/src/components/presentational/SearchAndFilterInput.jsx
+++ b/src/components/presentational/SearchAndFilterInput.jsx
@@ -158,13 +158,10 @@ export default function SearchAndFilterInput(props) {
// retrieves all PyGEO collections
const isInPyAPI = collection.filter(data => data.hasOwnProperty('itemType'));
- //console.log(isInPyAPI);
// finds and assigns the selected collection from the PYGEO api
const selectedCollection = isInPyAPI.find(data => data.title === props.selectedTitle);
- //console.log(selectedCollection);
-
// retrieves all pyGEO titles
const collectionTitles = isInPyAPI.map(data => data.title);
diff --git a/src/components/presentational/Sidebar.jsx b/src/components/presentational/Sidebar.jsx
index d8a6fe5cec7a016436c035c61bd2b7308e2685db..d362dd990d6396d2b4ac2178b525ce9d41b1113d 100644
--- a/src/components/presentational/Sidebar.jsx
+++ b/src/components/presentational/Sidebar.jsx
@@ -56,10 +56,8 @@ export default function Sidebar(props) {
// Callback to update selected queryables
const UpdateQueryableTitles = (selectedQueryables) => {
-
updatedQueryableTitles = selectedQueryables;
setUpdatedQueryableTitles(selectedQueryables)
- console.log("Selected Queryables: ", selectedQueryables);
}
return (
<>