Skip to content

Commit

Permalink
Merge pull request #50 from nbc-react-3rd-outsourcing-project-a5/feat…
Browse files Browse the repository at this point in the history
…ure/kakaoMap

Feature/kakao map
  • Loading branch information
dosion9 authored Dec 11, 2023
2 parents 7b07d99 + 5a553b8 commit db6fa30
Show file tree
Hide file tree
Showing 24 changed files with 614 additions and 188 deletions.
19 changes: 19 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"react": "^18.2.0",
"react-datepicker": "^4.24.0",
"react-dom": "^18.2.0",
"react-kakao-maps-sdk": "^1.1.24",
"react-redux": "^9.0.1",
"react-router-dom": "^6.20.1",
"react-scripts": "5.0.1",
Expand Down
Binary file added src/assets/geoMarker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions src/components/Comments/Comments.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ export default function Comments() {
const handleOnchangeComments = (e) => setComments(e.target.value);
const handleOnchangeEditComments = (e) => setEditComments(e.target.value);
const filterComments = allComments.filter((item) => item.festivalId === id);
// console.log(filterComments);
console.log(user);
useEffect(() => {
if (!isLoading) {
getDocs(query(collection(db, 'comments'), orderBy('createdAt', 'desc')))
Expand All @@ -39,7 +37,6 @@ export default function Comments() {
setIsLoding(false);
}
}, []);
console.log(allComments);

const handleSubmitComments = async (e) => {
e.preventDefault();
Expand Down Expand Up @@ -87,7 +84,6 @@ export default function Comments() {
const handleCompletionComment = async (id) => {
try {
const completion = { ...findComments, edit: false, comments: editComments };
// console.log(completion);
const changeComment = allComments.map((item) => {
return item.id === id ? { ...item, edit: !item.edit, comments: editComments } : item;
});
Expand Down
Loading

0 comments on commit db6fa30

Please sign in to comment.