Skip to content

Commit

Permalink
Chore: 빌드 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
suehub committed Jan 21, 2024
1 parent 2ca114d commit 838344c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/plan/addToOurPlace/PlanAddPlace.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const PlanAddPlace = () => {
<div className="min-h-screen">
<SearchInput />
{searchWord ? (
<SearchResultForPlan searchWord={searchWord} apiType="putTrips" />
<SearchResultForPlan searchWord={searchWord} apiType="postTripsItem" />
) : (
<OurLiked />
)}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/plan/addToOurPlace/SearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ResultCategoryPlan } from './ResultCategoryPlan';

interface SearchResultProps {
searchWord: string;
apiType: 'postTripsLike' | 'putTrips';
apiType: 'postTripsLike' | 'postTripsItem';
}

export const SearchResultForPlan = ({
Expand Down

0 comments on commit 838344c

Please sign in to comment.