diff --git a/gridwalk-backend/src/main.rs b/gridwalk-backend/src/main.rs index 8ef90e7..9d2421c 100644 --- a/gridwalk-backend/src/main.rs +++ b/gridwalk-backend/src/main.rs @@ -20,9 +20,9 @@ async fn main() -> Result<()> { // Create DynamoDB client let table_name = env::var("DYNAMODB_TABLE").unwrap_or_else(|_| "gridwalk".to_string()); - let app_db = Dynamodb::new(false, &table_name).await.unwrap(); + // let app_db = Dynamodb::new(false, &table_name).await.unwrap(); // FOR LOCAL DB DEV - // let app_db = Dynamodb::new(true, &table_name).await.unwrap(); + let app_db = Dynamodb::new(true, &table_name).await.unwrap(); // Create GeospatialConfig let geospatial_config = GeospatialConfig::new(); diff --git a/gridwalk-ui/src/app/project/[workspaceId]/[projectName]/components/mapClient.tsx b/gridwalk-ui/src/app/project/[workspaceId]/[projectName]/components/mapClient.tsx index af0e985..73e1d91 100644 --- a/gridwalk-ui/src/app/project/[workspaceId]/[projectName]/components/mapClient.tsx +++ b/gridwalk-ui/src/app/project/[workspaceId]/[projectName]/components/mapClient.tsx @@ -136,7 +136,6 @@ export function MapClient({ apiUrl }: MapClientProps) { const handleModalClose = useCallback(() => { setIsModalOpen(false); setSelectedItem(null); - setUploadSuccess(false); }, []); return ( diff --git a/gridwalk-ui/src/app/project/[workspaceId]/[projectName]/components/navBars/mainMapNavigation.tsx b/gridwalk-ui/src/app/project/[workspaceId]/[projectName]/components/navBars/mainMapNavigation.tsx index 141ce83..4053f2f 100644 --- a/gridwalk-ui/src/app/project/[workspaceId]/[projectName]/components/navBars/mainMapNavigation.tsx +++ b/gridwalk-ui/src/app/project/[workspaceId]/[projectName]/components/navBars/mainMapNavigation.tsx @@ -8,7 +8,6 @@ import { File, X, Upload, - CheckCircle, ArrowLeft, } from "lucide-react"; import { ModalProps, MainMapNav } from "./types"; @@ -22,18 +21,6 @@ const LoadingDots = () => ( ); -const SuccessMessage = () => ( -
Upload successful!
-- Your layer has been added to the map -
-