Skip to content

Commit

Permalink
Merge pull request #46 from DaengPlace/fix/#44
Browse files Browse the repository at this point in the history
[Fix] Deploy 오류 해결
  • Loading branch information
yewoniiii authored Dec 3, 2024
2 parents 7a77ef9 + 42206cc commit 8e2f584
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@storybook/test": "8.4.4",
"babel-plugin-styled-components": "^2.1.4",
"eslint": "^8",
"eslint-config-next": "15.0.3",
"eslint-config-next": "^15.0.3",
"eslint-plugin-storybook": "^0.11.0",
"storybook": "8.4.4"
}
Expand Down
10 changes: 9 additions & 1 deletion src/app/place/placedetail/page.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client";
import React, { useState, useEffect } from "react";
import React, { useState, useEffect, Suspense } from "react";
import styled from "styled-components";
import { useJsApiLoader } from "@react-google-maps/api";
import ImageContainer from "@/components/place/placedetail/ImageContainer/ImageContainer";
Expand All @@ -14,6 +14,14 @@ import { WithMapIcon } from "@/components/common/Header/Header.stories";
import { cards } from "@/data/cardsData";

const PlaceDetailPage = () => {
return (
<Suspense fallback={<div>Loading...</div>}>
<ActualPlaceDetailPage />
</Suspense>
)
}

const ActualPlaceDetailPage = () => {
const searchParams = useSearchParams();
const id = parseInt(searchParams.get("id"), 10);
const router = useRouter();
Expand Down
4 changes: 2 additions & 2 deletions src/components/mypage/myreviews/ReviewCard/ReviewCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ const ReviewCard = ({ review }) => {
</TextContent>
</AuthorInfo>
<Actions>
<MoreVert onClick={handleDropdownToggle} />
<MoreVert ref={dropdownRef} onClick={handleDropdownToggle} />
{isDropdownActive && (
<Dropdown ref={dropdownRef}>
<Dropdown>
<DropdownItem>수정</DropdownItem>
<DropdownItem>삭제</DropdownItem>
</Dropdown>
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4548,7 +4548,7 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==

[email protected]:
eslint-config-next@^15.0.3:
version "15.0.3"
resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-15.0.3.tgz#b483585260d5e55050d4ab87e053c88089ae12ee"
integrity sha512-IGP2DdQQrgjcr4mwFPve4DrCqo7CVVez1WoYY47XwKSrYO4hC0Dlb+iJA60i0YfICOzgNADIb8r28BpQ5Zs0wg==
Expand Down

0 comments on commit 8e2f584

Please sign in to comment.