Skip to content

changed post table postID column from INT to STRING for uuid + insert guess coordinates into database#28

Open
zhangbrady4 wants to merge 2 commits intomasterfrom
zhangbrady4_s3setup
Open

changed post table postID column from INT to STRING for uuid + insert guess coordinates into database#28
zhangbrady4 wants to merge 2 commits intomasterfrom
zhangbrady4_s3setup

Conversation

@zhangbrady4
Copy link
Copy Markdown
Contributor

No description provided.

@zhangbrady4 zhangbrady4 changed the title changed post table postID column from INT to STRING for uuid + slight front-end modification changed post table postID column from INT to STRING for uuid + insert guess coordinates into database Aug 22, 2024
Copy link
Copy Markdown
Contributor

@qingyuan-wu qingyuan-wu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some small comments

Comment on lines +46 to 57
// Score calculation for later
// axios
// .post('/make_guess/process_guess', { lat: e.latLng.lat(), lng: e.latLng.lng() })
// .then((res) => {
// setDistance(res.data.distance);
// setScore(res.data.score);
// })
// .catch((err) => {
// // TODO: better error handling
// console.log(err);
// })
};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of commenting out, can we remove this?

<div className="rectangle">
<div className="image">
<GoogleMap
center={center}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No action needed for now. But in the future I wonder if we can move this GoogleMap element to its separate components file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants