|
|
@ -35,13 +35,7 @@ export default function ContributeQuestionDialog({
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<Transition.Root as={Fragment} show={show}>
|
|
|
|
<Transition.Root as={Fragment} show={show}>
|
|
|
|
<Dialog
|
|
|
|
<Dialog as="div" className="relative z-10" onClose={onCancel}>
|
|
|
|
as="div"
|
|
|
|
|
|
|
|
className="relative z-10"
|
|
|
|
|
|
|
|
onClose={() => {
|
|
|
|
|
|
|
|
// Todo: save state
|
|
|
|
|
|
|
|
onCancel();
|
|
|
|
|
|
|
|
}}>
|
|
|
|
|
|
|
|
<Transition.Child
|
|
|
|
<Transition.Child
|
|
|
|
as={Fragment}
|
|
|
|
as={Fragment}
|
|
|
|
enter="ease-out duration-300"
|
|
|
|
enter="ease-out duration-300"
|
|
|
|