AashnaNarang / SurveyLab

0 stars 0 forks source link

Frontend - Update /survey/:id page to render an error message if the survey is not live #68

Closed AashnaNarang closed 2 years ago

AashnaNarang commented 2 years ago

If the survey is NOT live then show an error message saying “Sorry this survey is now closed.” Then when the user clicks “Ok” on the message, re-route them to the dashboard.

You can make use of the existing Modal.js component in the codebase