diff --git a/ui/src/pages/Questions/Ask/index.tsx b/ui/src/pages/Questions/Ask/index.tsx index a743ecf11..6f12a5192 100644 --- a/ui/src/pages/Questions/Ask/index.tsx +++ b/ui/src/pages/Questions/Ask/index.tsx @@ -292,7 +292,7 @@ const Ask = () => { navigate(pathFactory.questionLanding(id)); } } - deleteDraft(); + removeDraft(); } }; const backPage = () => { @@ -421,10 +421,11 @@ const Ask = () => { - - + {isEdit && ( + + )} {hasDraft && (