Skip to content

Commit bae4610

Browse files
committed
fix feedback submission
1 parent 7445ec6 commit bae4610

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ui/screens/landing-page/sections/feedback/components/FeedbackBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const FeedbackBox = ({ isDesktop }) => {
5757
onClick={submitFeedback}
5858
/>
5959
</VBox>
60-
{(success) && (
60+
{success && (
6161
<Typography color="success.main">
6262
{t('home.feedback.successMessage')}
6363
</Typography>

src/ui/screens/landing-page/sections/feedback/hooks/useFeedbackHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const useFeedbackHandler = () => {
1313
setIsSubmitting(true);
1414
setError(null); // Clear previous errors
1515

16-
const response = await fetch("https://f6g96htf6f.execute-api.eu-north-1.amazonaws.com/staging/feedback-handler", {
16+
const response = await fetch("https://igts6w8tsh.execute-api.eu-central-1.amazonaws.com/prod/feedback-handler", {
1717
method: "POST",
1818
headers: {
1919
"Content-Type": "application/json",

0 commit comments

Comments
 (0)