From 6a0d3f383476bbc76405ba9ea19965bc4ffa9eab Mon Sep 17 00:00:00 2001 From: Nicholas Pease Date: Tue, 20 Feb 2024 15:08:59 -0500 Subject: [PATCH] Add marker on user location (keep?) --- frontend-next/src/app/app/page.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend-next/src/app/app/page.js b/frontend-next/src/app/app/page.js index 90b5758..d5c2687 100644 --- a/frontend-next/src/app/app/page.js +++ b/frontend-next/src/app/app/page.js @@ -1,6 +1,6 @@ "use client" import { useState, useEffect } from 'react' -import {Map} from "pigeon-maps" +import {Map, Marker} from "pigeon-maps" function WelcomeMessage() { //TODO: REALLY GROSS WAY TO GET COOKIES, NEED NEW WAY TO STORE USER DATA WITHOUT API CALLS. THIS PAGE HAS TO BE CLIENT SIDE DUE TO MAPS / GEOLOCATION @@ -46,7 +46,9 @@ function Geo() { }, []); if (!isLoading) { return ( - + + + ) } else { return (