diff --git a/apps/portal/src/components/questions/ContributeQuestionDialog.tsx b/apps/portal/src/components/questions/ContributeQuestionDialog.tsx index 211a78a9..4b551016 100644 --- a/apps/portal/src/components/questions/ContributeQuestionDialog.tsx +++ b/apps/portal/src/components/questions/ContributeQuestionDialog.tsx @@ -32,6 +32,8 @@ export default function ContributeQuestionDialog({ className="relative z-10" onClose={() => { // Todo: save state + setShowDiscardDialog(false); + onCancel(); }}>