From 90d0d07578fd52352efafdedd2f6694a81fa9787 Mon Sep 17 00:00:00 2001
From: BrittainJackson7 <brittainjackson7@gmail.com>
Date: Fri, 10 Nov 2023 09:49:58 -0700
Subject: [PATCH] fixed to const

---
 src/components/container/GeoStacApp.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/container/GeoStacApp.jsx b/src/components/container/GeoStacApp.jsx
index 09b517092..2382e02bd 100644
--- a/src/components/container/GeoStacApp.jsx
+++ b/src/components/container/GeoStacApp.jsx
@@ -14,10 +14,10 @@ import Sidebar from "../presentational/Sidebar.jsx";
  */
 export default function GeoStacApp(props) {
 
-  let [targetPlanet, setTargetPlanet] = React.useState(props.mapList.systems[4].bodies[0]);
+  const [targetPlanet, setTargetPlanet] = React.useState(props.mapList.systems[4].bodies[0]);
   // make sure its a stac item for appending stuff
-  let [queryAddress, setQueryAddress] = React.useState(
-    props.mapList.systems[4].bodies[0].collections[0].links.find(link => link.rel === "items").href + "?");
+  const [queryAddress, setQueryAddress] = React.useState(
+    props.mapList.systems[4].bodies[0].collections[0].links.find(link => link.rel === "items").href);
 
   /**
    * Handles target body selection
-- 
GitLab