Skip to content

Commit

Permalink
fix add travel note
Browse files Browse the repository at this point in the history
  • Loading branch information
leonw00 committed Mar 3, 2024
1 parent aa52485 commit 88b92d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 3 additions & 8 deletions client/src/app/[locale]/(components)/(extra)/MultiPageForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,12 @@ const MultiPageForm: React.FC<MultiPageFormProps> = ({ closeForm }) => {
"/api/v1/trips",
{
budget: 10000,
countryProperty: {
id: destination?.id,
code: destination?.code,
name: destination?.name,
currency: destination?.currency,
},
countryId: destination?.id,
description: "A trip for the ages!",
endDateTime: endDate,
name: title,
noteProperty: {
bound: "SpringNote",
noteType: noteImage,
boundColor: "#111111",
noteColor: "#000000",
},
Expand All @@ -217,7 +212,7 @@ const MultiPageForm: React.FC<MultiPageFormProps> = ({ closeForm }) => {
display: "flex",
flexDirection: "column",
height: "100vh",
backgroundColor: HomeBackgroundColor
backgroundColor: HomeBackgroundColor,
}}
>
<Stepper
Expand Down
2 changes: 0 additions & 2 deletions client/src/app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import MultiPageForm from "./(components)/(extra)/MultiPageForm";
import SwipableCards from "./(components)/(home)/SwipableCards";
import GridCards from "./(components)/(home)/GridCards";
import {
Button,
Dialog,
IconButton,
MenuItem,
Expand All @@ -27,7 +26,6 @@ import ListIcon from "@mui/icons-material/FormatListBulleted";
// CONSTANTS
import {
BackgroundColor,
DefaultButtonColor,
HomeBackgroundColor,
} from "./constants";

Expand Down

0 comments on commit 88b92d8

Please sign in to comment.