Skip to content

Commit

Permalink
Merge pull request #101 from BFGGyu/develop
Browse files Browse the repository at this point in the history
[CHORE] main branch 배포
  • Loading branch information
rbgksqkr authored Aug 19, 2023
2 parents 5fa3ade + 651ee5a commit 1bfa7d5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pages/map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const PlaceLabel = styled.div`
`;

const MapWrapper = styled.div`
height: 530px;
height: 650px;
`;

const MapDiv = styled.div`
Expand Down
1 change: 0 additions & 1 deletion pages/review/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const ReviewPage: NextPage = () => {
};

const ReviewMainWrapper = styled.div`
border: 1px solid black;
height: 100%;
`;

Expand Down
3 changes: 1 addition & 2 deletions src/apis/review.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ export const submitReview = async (
rating: number,
comment: string
) => {
const result = await Server.post<IReviewReturnType>(`review/${place}/`, {
await Server.post<IReviewReturnType>(`review/${place}/`, {
writer,
rating,
comment
});
console.log('submitReview result.data:', result.data);
};
4 changes: 2 additions & 2 deletions src/constants/sizes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const SCREEN_SIZE = {
WIDTH: '360px',
HEIGHT: '780px'
WIDTH: '414px',
HEIGHT: '896px'
} as const;

export default SCREEN_SIZE;
2 changes: 1 addition & 1 deletion src/utils/map/initRouteMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const initRouteMap = async (
const CURRENT_MAP = new window.Tmapv2.Map('map_div', {
center: new window.Tmapv2.LatLng(37.5, 126.9),
width: SCREEN_SIZE.WIDTH,
height: '530px',
height: '650px',
zoom: 15,
pinchZoom: true,
zoomControl: false,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/map/initTmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const initTmap = async (markerData: IFacilityMarker[], tags: ITag[], setT
const CURRENT_MAP = new window.Tmapv2.Map('map_div', {
center: new window.Tmapv2.LatLng(37.5, 126.9), // 지도 초기 좌표
width: SCREEN_SIZE.WIDTH,
height: '588px',
height: '610px',
zoom: 8,
pinchZoom: true,
scrollwheel: true,
Expand Down

0 comments on commit 1bfa7d5

Please sign in to comment.