diff --git a/src/@optimizely/forms-react/src/components/elements/SubmitButtonElementBlock.tsx b/src/@optimizely/forms-react/src/components/elements/SubmitButtonElementBlock.tsx index 4526094..934f34e 100644 --- a/src/@optimizely/forms-react/src/components/elements/SubmitButtonElementBlock.tsx +++ b/src/@optimizely/forms-react/src/components/elements/SubmitButtonElementBlock.tsx @@ -14,23 +14,21 @@ export const SubmitButtonElementBlock = (props: SubmitButtonElementBlockProps) = //TODO: Need to get submittable status from API const buttonDisableState = false; - return useMemo(()=>( - - - - ),[isVisible]); + return useMemo(()=>(isVisible && ( + + )),[isVisible]); } \ No newline at end of file