Skip to content

Commit

Permalink
Fixed Mish's bug and added an extra paragraph to details
Browse files Browse the repository at this point in the history
  • Loading branch information
amykapernick committed Jan 31, 2024
1 parent c0a37be commit 9c0d16b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function submit (guest: string, formData: FormData)
fieldValue = 'true'
}

const fieldData = notionFields[type].replace('{{value}}', fieldValue)
const fieldData = notionFields[type].replace('{{value}}', fieldValue.replace('"', '\\"'))

updatedData[id] = {
...updatedData[id],
Expand Down
4 changes: 4 additions & 0 deletions src/components/parts/details/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@
border-right: 1px solid $green;
}

&:nth-of-type(5) {
margin-bottom: 4em;
}

&:last-of-type {
padding-top: 4em;
}
Expand Down

0 comments on commit 9c0d16b

Please sign in to comment.