1 parent 1a3de0f commit 6898751Copy full SHA for 6898751
1 file changed
frontend_website/src/Pages/NewLandingPage/Contact/Contact.jsx
@@ -32,11 +32,14 @@ const Contact = () => {
32
getResponseData,
33
);
34
35
- localStorage.setItem(
36
- 'd5339e41-f0c2-46b9-b3bb-038c767c4ebb',
37
- JSON.stringify(true),
38
- );
39
- navigate('/demo');
+ // 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.
+ /* if (response) {
+ localStorage.setItem(
+ 'd5339e41-f0c2-46b9-b3bb-038c767c4ebb',
+ JSON.stringify(true),
40
+ );
41
+ navigate('/demo');
42
+ } */
43
};
44
45
return (
0 commit comments