Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kathleenkhy committed Mar 1, 2024
1 parent 01348cf commit cf3c901
Show file tree
Hide file tree
Showing 6 changed files with 2,623 additions and 1,579 deletions.
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
name="twitter:image"
content="%PUBLIC_URL%/static/images/__OG_IMAGE__"
/>
</head>
<script src="../static/js/datadog-chunk.dc8e4a16556131eca2e9.js"></script></head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
Flex,
FormControl,
FormLabel,
Icon,
ModalBody,
ModalHeader,
Text,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ const useMagicFormBuilderWizardContext =
* TODO: Wire up with actual mutations
*/

const mockPdfMutation = useMutation(() => {
return new Promise((resolve) => {
setTimeout(() => {
resolve('success')
}, 2000)
})
})
// const mockPdfMutation = useMutation(() => {
// return new Promise((resolve) => {
// setTimeout(() => {
// resolve('success')
// }, 2000)
// })
// })

const { createFieldsFromPromptMutation, createFieldsFromPdfMutation } =
useAssistanceMutations()
Expand Down
6 changes: 1 addition & 5 deletions frontend/src/pages/Landing/Home/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ import {
OGP_FORMSG_COLLATE,
OGP_FORMSG_REPO,
} from '~constants/links'
import {
LANDING_PAYMENTS_ROUTE,
LOGIN_ROUTE,
TOU_ROUTE,
} from '~constants/routes'
import { LOGIN_ROUTE, TOU_ROUTE } from '~constants/routes'
import { useIsMobile } from '~hooks/useIsMobile'
import { useMdComponents } from '~hooks/useMdComponents'
import Button from '~components/Button'
Expand Down
Loading

0 comments on commit cf3c901

Please sign in to comment.