Unverified Commit dbbd493b authored by Zhou (Link)  Fang's avatar Zhou (Link) Fang Committed by GitHub
Browse files

Fixed the 500 error issue (#284)

parent 732a6aa1
......@@ -41,6 +41,7 @@ const FormChooser = ({
};
const handleStartNewForm = () => {
setIsStartNewForm(true);
if (getCurrentMode() === MODE_REACT_API) setCurrentFormId('');
// reset the form if user has gone to a further page/step
if (furthestPage.index > 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment