[questions][ui] fix dialog closing

pull/346/head
wlren 3 years ago
parent c898eb686c
commit 05960aed1e

@ -32,6 +32,8 @@ export default function ContributeQuestionDialog({
className="relative z-10" className="relative z-10"
onClose={() => { onClose={() => {
// Todo: save state // Todo: save state
setShowDiscardDialog(false);
onCancel();
}}> }}>
<Transition.Child <Transition.Child
as={Fragment} as={Fragment}

Loading…
Cancel
Save