Skip to content

Commit

Permalink
style: 여정목록조회 디자인 수정 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
NohWookJin committed Jan 16, 2024
1 parent 8a7a73e commit c38a0ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/MyTrip/MyTrip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ const MyTrip = () => {

return (
<div className="mt-3 min-h-[100vh]">
<div className="pb-[15px]">
<h1 className="text-2xl font-bold text-black ">나의 여정</h1>
</div>
{data.length > 0 ? (
<>
<MyTripIngList myTripsData={ingTrips} />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/create/createTrip.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const CreateTrip = () => {
queryFn: () => getMemberTrips(),
});

const MY_TRIP_NUMBER = data?.data.numberOfElements + 1;
const MY_TRIP_NUMBER = data?.numberOfElements + 1;
const defaultTitle = `나의 여정 ${MY_TRIP_NUMBER}`;

const handleSubmit = async () => {
Expand Down

0 comments on commit c38a0ca

Please sign in to comment.