Skip to content

Commit 6898751

Browse files
committed
comment out route method in landing contact
1 parent 1a3de0f commit 6898751

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

  • frontend_website/src/Pages/NewLandingPage/Contact

frontend_website/src/Pages/NewLandingPage/Contact/Contact.jsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,14 @@ const Contact = () => {
3232
getResponseData,
3333
);
3434

35-
localStorage.setItem(
36-
'd5339e41-f0c2-46b9-b3bb-038c767c4ebb',
37-
JSON.stringify(true),
38-
);
39-
navigate('/demo');
35+
// If the response is ok, set the below value in local storage to true. That value conditionally renders either the demo form or demo page.
36+
/* if (response) {
37+
localStorage.setItem(
38+
'd5339e41-f0c2-46b9-b3bb-038c767c4ebb',
39+
JSON.stringify(true),
40+
);
41+
navigate('/demo');
42+
} */
4043
};
4144

4245
return (

0 commit comments

Comments
 (0)